blob: 10c1dd3cd463852452e809a1fd4a4a11ac6187aa [file] [log] [blame]
Ben Dooksd58153d2007-07-22 16:07:09 +01001# 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
Ben Dooksb2627582007-07-22 16:09:44 +010015# low-level serial option nodes
16
17config CPU_LLSERIAL_S3C2410_ONLY
18 bool
19 depends on ARCH_S3C2410
20 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
21
22config CPU_LLSERIAL_S3C2440_ONLY
23 bool
24 depends on ARCH_S3C2410
25 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
26
27config CPU_LLSERIAL_S3C2410
28 bool
29 depends on ARCH_S3C2410
30 help
31 Selected if there is an S3C2410 (or register compatible) serial
32 low-level implementation needed
33
34config CPU_LLSERIAL_S3C2440
35 bool
36 depends on ARCH_S3C2410
37 help
38 Selected if there is an S3C2440 (or register compatible) serial
39 low-level implementation needed
40
41# boot configurations
42
Ben Dooksd58153d2007-07-22 16:07:09 +010043comment "Boot options"
44
Ben Dooksa45f8262007-07-22 16:16:51 +010045config S3C_BOOT_WATCHDOG
46 bool "S3C Initialisation watchdog"
Ben Dooksd58153d2007-07-22 16:07:09 +010047 depends on PLAT_S3C && S3C2410_WATCHDOG
48 help
49 Say y to enable the watchdog during the kernel decompression
50 stage. If the kernel fails to uncompress, then the watchdog
51 will trigger a reset and the system should restart.
52
Ben Dooksa45f8262007-07-22 16:16:51 +010053config S3C_BOOT_ERROR_RESET
54 bool "S3C Reboot on decompression error"
Ben Dooksd58153d2007-07-22 16:07:09 +010055 depends on PLAT_S3C
56 help
57 Say y here to use the watchdog to reset the system if the
58 kernel decompressor detects an error during decompression.
59
Ben Dookse7aa6f42008-12-02 19:34:52 +000060config S3C_BOOT_UART_FORCE_FIFO
61 bool "Force UART FIFO on during boot process"
62 depends on PLAT_S3C
63 default y
64 help
65 Say Y here to force the UART FIFOs on during the kernel
66 uncompressor
67
Ben Dooksd58153d2007-07-22 16:07:09 +010068comment "Power management"
69
70config S3C2410_PM_DEBUG
71 bool "S3C2410 PM Suspend debug"
72 depends on PLAT_S3C && PM
73 help
74 Say Y here if you want verbose debugging from the PM Suspend and
75 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
76 for more information.
77
78config S3C2410_PM_CHECK
79 bool "S3C2410 PM Suspend Memory CRC"
80 depends on PLAT_S3C && PM && CRC32
81 help
82 Enable the PM code's memory area checksum over sleep. This option
83 will generate CRCs of all blocks of memory, and store them before
84 going to sleep. The blocks are then checked on resume for any
85 errors.
86
87 Note, this can take several seconds depending on memory size
88 and CPU speed.
89
90 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
91
92config S3C2410_PM_CHECK_CHUNKSIZE
93 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
94 depends on PLAT_S3C && PM && S3C2410_PM_CHECK
95 default 64
96 help
97 Set the chunksize in Kilobytes of the CRC for checking memory
98 corruption over suspend and resume. A smaller value will mean that
99 the CRC data block will take more memory, but wil identify any
100 faults with better precision.
101
102 See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
103
Ben Dooksc7657842007-07-22 16:11:20 +0100104config S3C_LOWLEVEL_UART_PORT
105 int "S3C UART to use for low-level messages"
Ben Dooksd58153d2007-07-22 16:07:09 +0100106 depends on PLAT_S3C
107 default 0
108 help
109 Choice of which UART port to use for the low-level messages,
110 such as the `Uncompressing...` at start time. The value of
111 this configuration should be between zero and two. The port
112 must have been initialised by the boot-loader before use.