[ARM] 4510/1: S3C: split debug-macro support into plat-s3c
[deliverable/linux.git] / arch / arm / plat-s3c / Kconfig
CommitLineData
d58153d8
BD
1# arch/arm/plat-s3c/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C
8 bool
9 depends on ARCH_S3C2410
10 default y if ARCH_S3C2410
11 select NO_IOPORT
12 help
13 Base platform code for any Samsung S3C device
14
15comment "Boot options"
16
17config S3C2410_BOOT_WATCHDOG
18 bool "S3C2410 Initialisation watchdog"
19 depends on PLAT_S3C && S3C2410_WATCHDOG
20 help
21 Say y to enable the watchdog during the kernel decompression
22 stage. If the kernel fails to uncompress, then the watchdog
23 will trigger a reset and the system should restart.
24
25config S3C2410_BOOT_ERROR_RESET
26 bool "S3C2410 Reboot on decompression error"
27 depends on PLAT_S3C
28 help
29 Say y here to use the watchdog to reset the system if the
30 kernel decompressor detects an error during decompression.
31
32comment "Power management"
33
34config S3C2410_PM_DEBUG
35 bool "S3C2410 PM Suspend debug"
36 depends on PLAT_S3C && PM
37 help
38 Say Y here if you want verbose debugging from the PM Suspend and
39 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
40 for more information.
41
42config S3C2410_PM_CHECK
43 bool "S3C2410 PM Suspend Memory CRC"
44 depends on PLAT_S3C && PM && CRC32
45 help
46 Enable the PM code's memory area checksum over sleep. This option
47 will generate CRCs of all blocks of memory, and store them before
48 going to sleep. The blocks are then checked on resume for any
49 errors.
50
51 Note, this can take several seconds depending on memory size
52 and CPU speed.
53
54 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
55
56config S3C2410_PM_CHECK_CHUNKSIZE
57 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
58 depends on PLAT_S3C && PM && S3C2410_PM_CHECK
59 default 64
60 help
61 Set the chunksize in Kilobytes of the CRC for checking memory
62 corruption over suspend and resume. A smaller value will mean that
63 the CRC data block will take more memory, but wil identify any
64 faults with better precision.
65
66 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
67
68config S3C2410_LOWLEVEL_UART_PORT
69 int "S3C2410 UART to use for low-level messages"
70 depends on PLAT_S3C
71 default 0
72 help
73 Choice of which UART port to use for the low-level messages,
74 such as the `Uncompressing...` at start time. The value of
75 this configuration should be between zero and two. The port
76 must have been initialised by the boot-loader before use.
This page took 0.031078 seconds and 5 git commands to generate.