aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-12-21 10:02:07 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-21 10:02:07 -0500
commitd83a12a40915774332cec625856c2e7ba9033e15 (patch)
tree18cc6f9d3a9346c25d71a5d5ac04e7dd6c73461f /arch/arm
parenta663a71e429d7d06a7773edc4092995c5fe1171f (diff)
[ARM] s3c: S3C options should depend on PLAT_S3C
This avoids non-Samsung builds being asked about Samsung specific configuration options. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/plat-s3c/Kconfig23
1 files changed, 8 insertions, 15 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
index def0bb457ca3..de9383814e5e 100644
--- a/arch/arm/plat-s3c/Kconfig
+++ b/arch/arm/plat-s3c/Kconfig
@@ -14,26 +14,24 @@ config PLAT_S3C
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 PLAT_S3C
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 PLAT_S3C
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 PLAT_S3C
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 PLAT_S3C
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,14 +50,12 @@ 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
60config S3C_BOOT_UART_FORCE_FIFO 57config S3C_BOOT_UART_FORCE_FIFO
61 bool "Force UART FIFO on during boot process" 58 bool "Force UART FIFO on during boot process"
62 depends on PLAT_S3C
63 default y 59 default y
64 help 60 help
65 Say Y here to force the UART FIFOs on during the kernel 61 Say Y here to force the UART FIFOs on during the kernel
@@ -69,7 +65,7 @@ comment "Power management"
69 65
70config S3C2410_PM_DEBUG 66config S3C2410_PM_DEBUG
71 bool "S3C2410 PM Suspend debug" 67 bool "S3C2410 PM Suspend debug"
72 depends on PLAT_S3C && PM 68 depends on PM
73 help 69 help
74 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
75 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> 71 Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
@@ -77,7 +73,7 @@ config S3C2410_PM_DEBUG
77 73
78config S3C2410_PM_CHECK 74config S3C2410_PM_CHECK
79 bool "S3C2410 PM Suspend Memory CRC" 75 bool "S3C2410 PM Suspend Memory CRC"
80 depends on PLAT_S3C && PM && CRC32 76 depends on PM && CRC32
81 help 77 help
82 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
83 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
@@ -91,7 +87,7 @@ config S3C2410_PM_CHECK
91 87
92config S3C2410_PM_CHECK_CHUNKSIZE 88config S3C2410_PM_CHECK_CHUNKSIZE
93 int "S3C2410 PM Suspend CRC Chunksize (KiB)" 89 int "S3C2410 PM Suspend CRC Chunksize (KiB)"
94 depends on PLAT_S3C && PM && S3C2410_PM_CHECK 90 depends on PM && S3C2410_PM_CHECK
95 default 64 91 default 64
96 help 92 help
97 Set the chunksize in Kilobytes of the CRC for checking memory 93 Set the chunksize in Kilobytes of the CRC for checking memory
@@ -103,7 +99,6 @@ config S3C2410_PM_CHECK_CHUNKSIZE
103 99
104config S3C_LOWLEVEL_UART_PORT 100config S3C_LOWLEVEL_UART_PORT
105 int "S3C UART to use for low-level messages" 101 int "S3C UART to use for low-level messages"
106 depends on PLAT_S3C
107 default 0 102 default 0
108 help 103 help
109 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,
@@ -159,24 +154,22 @@ config S3C_GPIO_CFG_S3C64XX
159 154
160config S3C_DEV_HSMMC 155config S3C_DEV_HSMMC
161 bool 156 bool
162 depends on PLAT_S3C
163 help 157 help
164 Compile in platform device definitions for HSMMC code 158 Compile in platform device definitions for HSMMC code
165 159
166config S3C_DEV_HSMMC1 160config S3C_DEV_HSMMC1
167 bool 161 bool
168 depends on PLAT_S3C
169 help 162 help
170 Compile in platform device definitions for HSMMC channel 1 163 Compile in platform device definitions for HSMMC channel 1
171 164
172config S3C_DEV_I2C1 165config S3C_DEV_I2C1
173 bool 166 bool
174 depends on PLAT_S3C
175 help 167 help
176 Compile in platform device definitions for I2C channel 1 168 Compile in platform device definitions for I2C channel 1
177 169
178config S3C_DEV_FB 170config S3C_DEV_FB
179 bool 171 bool
180 depends on PLAT_S3C
181 help 172 help
182 Compile in platform device definition for framebuffer 173 Compile in platform device definition for framebuffer
174
175endif