diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 22:29:25 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-20 23:45:58 -0500 |
commit | 8005745d6eea79da8ee2e7fe978d14e412aa3353 (patch) | |
tree | 12b3e6d2fcaa1f07f8b3d68a7ad53960d565146f /arch/arm/plat-samsung/Kconfig | |
parent | 106cc6aa73f594015fc8b99f7c70d1b7cf23f19a (diff) |
ARM: SAMSUNG: Move pm-check.c to plat-samsung
Move the pm-check.c file to plat-samsung for all Samsung SoC users, and
update Kconfig names to make them SAMSUNG_ instead of S3C2410_
Sed expresions used to make the change:
s/S3C2410_PM_DEBUG/SAMSUNG_PM_DEBUG/g
s/S3C2410_PM_CHECK/SAMSUNG_PM_CHECK/g
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/Kconfig')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 6484b5bf82c..1c2fe91c23e 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -132,4 +132,49 @@ config S3C_DEV_NAND | |||
132 | help | 132 | help |
133 | Compile in platform device definition for NAND controller | 133 | Compile in platform device definition for NAND controller |
134 | 134 | ||
135 | comment "Power management" | ||
136 | |||
137 | config SAMSUNG_PM_DEBUG | ||
138 | bool "S3C2410 PM Suspend debug" | ||
139 | depends on PM | ||
140 | help | ||
141 | Say Y here if you want verbose debugging from the PM Suspend and | ||
142 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
143 | for more information. | ||
144 | |||
145 | config S3C_PM_DEBUG_LED_SMDK | ||
146 | bool "SMDK LED suspend/resume debugging" | ||
147 | depends on PM && (MACH_SMDK6410) | ||
148 | help | ||
149 | Say Y here to enable the use of the SMDK LEDs on the baseboard | ||
150 | for debugging of the state of the suspend and resume process. | ||
151 | |||
152 | Note, this currently only works for S3C64XX based SMDK boards. | ||
153 | |||
154 | config SAMSUNG_PM_CHECK | ||
155 | bool "S3C2410 PM Suspend Memory CRC" | ||
156 | depends on PM && CRC32 | ||
157 | help | ||
158 | Enable the PM code's memory area checksum over sleep. This option | ||
159 | will generate CRCs of all blocks of memory, and store them before | ||
160 | going to sleep. The blocks are then checked on resume for any | ||
161 | errors. | ||
162 | |||
163 | Note, this can take several seconds depending on memory size | ||
164 | and CPU speed. | ||
165 | |||
166 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
167 | |||
168 | config SAMSUNG_PM_CHECK_CHUNKSIZE | ||
169 | int "S3C2410 PM Suspend CRC Chunksize (KiB)" | ||
170 | depends on PM && SAMSUNG_PM_CHECK | ||
171 | default 64 | ||
172 | help | ||
173 | Set the chunksize in Kilobytes of the CRC for checking memory | ||
174 | corruption over suspend and resume. A smaller value will mean that | ||
175 | the CRC data block will take more memory, but wil identify any | ||
176 | faults with better precision. | ||
177 | |||
178 | See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
179 | |||
135 | endif | 180 | endif |