aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-s3c/Kconfig')
-rw-r--r--arch/arm/plat-s3c/Kconfig95
1 files changed, 83 insertions, 12 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
index 31656c33e05e..de9383814e5e 100644
--- a/arch/arm/plat-s3c/Kconfig
+++ b/arch/arm/plat-s3c/Kconfig
@@ -6,34 +6,32 @@
6 6
7config PLAT_S3C 7config PLAT_S3C
8 bool 8 bool
9 depends on ARCH_S3C2410 9 depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX
10 default y if ARCH_S3C2410 10 default y
11 select NO_IOPORT 11 select NO_IOPORT
12 help 12 help
13 Base platform code for any Samsung S3C device 13 Base platform code for any Samsung S3C device
14 14
15# low-level serial option nodes 15# low-level serial option nodes
16 16
17if PLAT_S3C
18
17config CPU_LLSERIAL_S3C2410_ONLY 19config CPU_LLSERIAL_S3C2410_ONLY
18 bool 20 bool
19 depends on ARCH_S3C2410
20 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 21 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
21 22
22config CPU_LLSERIAL_S3C2440_ONLY 23config CPU_LLSERIAL_S3C2440_ONLY
23 bool 24 bool
24 depends on ARCH_S3C2410
25 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 25 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
26 26
27config CPU_LLSERIAL_S3C2410 27config CPU_LLSERIAL_S3C2410
28 bool 28 bool
29 depends on ARCH_S3C2410
30 help 29 help
31 Selected if there is an S3C2410 (or register compatible) serial 30 Selected if there is an S3C2410 (or register compatible) serial
32 low-level implementation needed 31 low-level implementation needed
33 32
34config CPU_LLSERIAL_S3C2440 33config CPU_LLSERIAL_S3C2440
35 bool 34 bool
36 depends on ARCH_S3C2410
37 help 35 help
38 Selected if there is an S3C2440 (or register compatible) serial 36 Selected if there is an S3C2440 (or register compatible) serial
39 low-level implementation needed 37 low-level implementation needed
@@ -44,7 +42,7 @@ comment "Boot options"
44 42
45config S3C_BOOT_WATCHDOG 43config S3C_BOOT_WATCHDOG
46 bool "S3C Initialisation watchdog" 44 bool "S3C Initialisation watchdog"
47 depends on PLAT_S3C && S3C2410_WATCHDOG 45 depends on S3C2410_WATCHDOG
48 help 46 help
49 Say y to enable the watchdog during the kernel decompression 47 Say y to enable the watchdog during the kernel decompression
50 stage. If the kernel fails to uncompress, then the watchdog 48 stage. If the kernel fails to uncompress, then the watchdog
@@ -52,16 +50,22 @@ config S3C_BOOT_WATCHDOG
52 50
53config S3C_BOOT_ERROR_RESET 51config S3C_BOOT_ERROR_RESET
54 bool "S3C Reboot on decompression error" 52 bool "S3C Reboot on decompression error"
55 depends on PLAT_S3C
56 help 53 help
57 Say y here to use the watchdog to reset the system if the 54 Say y here to use the watchdog to reset the system if the
58 kernel decompressor detects an error during decompression. 55 kernel decompressor detects an error during decompression.
59 56
57config S3C_BOOT_UART_FORCE_FIFO
58 bool "Force UART FIFO on during boot process"
59 default y
60 help
61 Say Y here to force the UART FIFOs on during the kernel
62 uncompressor
63
60comment "Power management" 64comment "Power management"
61 65
62config S3C2410_PM_DEBUG 66config S3C2410_PM_DEBUG
63 bool "S3C2410 PM Suspend debug" 67 bool "S3C2410 PM Suspend debug"
64 depends on PLAT_S3C && PM 68 depends on PM
65 help 69 help
66 Say Y here if you want verbose debugging from the PM Suspend and 70 Say Y here if you want verbose debugging from the PM Suspend and
67 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 71 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
@@ -69,7 +73,7 @@ config S3C2410_PM_DEBUG
69 73
70config S3C2410_PM_CHECK 74config S3C2410_PM_CHECK
71 bool "S3C2410 PM Suspend Memory CRC" 75 bool "S3C2410 PM Suspend Memory CRC"
72 depends on PLAT_S3C && PM && CRC32 76 depends on PM && CRC32
73 help 77 help
74 Enable the PM code's memory area checksum over sleep. This option 78 Enable the PM code's memory area checksum over sleep. This option
75 will generate CRCs of all blocks of memory, and store them before 79 will generate CRCs of all blocks of memory, and store them before
@@ -83,7 +87,7 @@ config S3C2410_PM_CHECK
83 87
84config S3C2410_PM_CHECK_CHUNKSIZE 88config S3C2410_PM_CHECK_CHUNKSIZE
85 int "S3C2410 PM Suspend CRC Chunksize (KiB)" 89 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
86 depends on PLAT_S3C && PM && S3C2410_PM_CHECK 90 depends on PM && S3C2410_PM_CHECK
87 default 64 91 default 64
88 help 92 help
89 Set the chunksize in Kilobytes of the CRC for checking memory 93 Set the chunksize in Kilobytes of the CRC for checking memory
@@ -95,10 +99,77 @@ config S3C2410_PM_CHECK_CHUNKSIZE
95 99
96config S3C_LOWLEVEL_UART_PORT 100config S3C_LOWLEVEL_UART_PORT
97 int "S3C UART to use for low-level messages" 101 int "S3C UART to use for low-level messages"
98 depends on PLAT_S3C
99 default 0 102 default 0
100 help 103 help
101 Choice of which UART port to use for the low-level messages, 104 Choice of which UART port to use for the low-level messages,
102 such as the `Uncompressing...` at start time. The value of 105 such as the `Uncompressing...` at start time. The value of
103 this configuration should be between zero and two. The port 106 this configuration should be between zero and two. The port
104 must have been initialised by the boot-loader before use. 107 must have been initialised by the boot-loader before use.
108
109# options for gpiolib support
110
111config S3C_GPIO_SPACE
112 int "Space between gpio banks"
113 default 0
114 help
115 Add a number of spare GPIO entries between each bank for debugging
116 purposes. This allows any problems where an counter overflows from
117 one bank to another to be caught, at the expense of using a little
118 more memory.
119
120config S3C_GPIO_TRACK
121 bool
122 help
123 Internal configuration option to enable the s3c specific gpio
124 chip tracking if the platform requires it.
125
126config S3C_GPIO_PULL_UPDOWN
127 bool
128 help
129 Internal configuration to enable the correct GPIO pull helper
130
131config S3C_GPIO_PULL_DOWN
132 bool
133 help
134 Internal configuration to enable the correct GPIO pull helper
135
136config S3C_GPIO_PULL_UP
137 bool
138 help
139 Internal configuration to enable the correct GPIO pull helper
140
141config S3C_GPIO_CFG_S3C24XX
142 bool
143 help
144 Internal configuration to enable S3C24XX style GPIO configuration
145 functions.
146
147config S3C_GPIO_CFG_S3C64XX
148 bool
149 help
150 Internal configuration to enable S3C64XX style GPIO configuration
151 functions.
152
153# device definitions to compile in
154
155config S3C_DEV_HSMMC
156 bool
157 help
158 Compile in platform device definitions for HSMMC code
159
160config S3C_DEV_HSMMC1
161 bool
162 help
163 Compile in platform device definitions for HSMMC channel 1
164
165config S3C_DEV_I2C1
166 bool
167 help
168 Compile in platform device definitions for I2C channel 1
169
170config S3C_DEV_FB
171 bool
172 help
173 Compile in platform device definition for framebuffer
174
175endif