diff options
| author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-31 19:54:38 -0500 |
|---|---|---|
| committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-02-03 19:17:10 -0500 |
| commit | 09ec1d7ea67f6e23b6ef2178fa2ec48fd65477dc (patch) | |
| tree | 38318b5c98f48754521a288f40e3c77a1fe8a623 /arch/arm/mach-s3c24xx/Kconfig | |
| parent | f44ddba3635e35317057e976888d4a12dcb0f842 (diff) | |
ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/
This patch is for just moving plat-s3c24xx/*.c into mach-s3c24xx/, so
that we could remove plat-s3c24xx directory. But since the PLAT_S3C24XX
is used in drivers, the statement is not deleted and it will be sorted
out next time.
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
| -rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 67df58bdc096..31eacad5b3e9 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
| @@ -9,6 +9,15 @@ | |||
| 9 | 9 | ||
| 10 | if ARCH_S3C24XX | 10 | if ARCH_S3C24XX |
| 11 | 11 | ||
| 12 | config PLAT_S3C24XX | ||
| 13 | def_bool y | ||
| 14 | select ARCH_REQUIRE_GPIOLIB | ||
| 15 | select NO_IOPORT | ||
| 16 | select S3C_DEV_NAND | ||
| 17 | select IRQ_DOMAIN | ||
| 18 | help | ||
| 19 | Base platform code for any Samsung S3C24XX device | ||
| 20 | |||
| 12 | menu "SAMSUNG S3C24XX SoCs Support" | 21 | menu "SAMSUNG S3C24XX SoCs Support" |
| 13 | 22 | ||
| 14 | comment "S3C24XX SoCs" | 23 | comment "S3C24XX SoCs" |
| @@ -83,6 +92,17 @@ config CPU_S3C2443 | |||
| 83 | 92 | ||
| 84 | # common code | 93 | # common code |
| 85 | 94 | ||
| 95 | config S3C2410_CLOCK | ||
| 96 | bool | ||
| 97 | help | ||
| 98 | Clock code for the S3C2410, and similar processors which | ||
| 99 | is currently includes the S3C2410, S3C2440, S3C2442. | ||
| 100 | |||
| 101 | config S3C24XX_DCLK | ||
| 102 | bool | ||
| 103 | help | ||
| 104 | Clock code for supporting DCLK/CLKOUT on S3C24XX architectures | ||
| 105 | |||
| 86 | config S3C24XX_SMDK | 106 | config S3C24XX_SMDK |
| 87 | bool | 107 | bool |
| 88 | help | 108 | help |
| @@ -111,6 +131,22 @@ config S3C24XX_SETUP_TS | |||
| 111 | help | 131 | help |
| 112 | Compile in platform device definition for Samsung TouchScreen. | 132 | Compile in platform device definition for Samsung TouchScreen. |
| 113 | 133 | ||
| 134 | config S3C24XX_DMA | ||
| 135 | bool "S3C2410 DMA support" | ||
| 136 | depends on ARCH_S3C24XX | ||
| 137 | select S3C_DMA | ||
| 138 | help | ||
| 139 | S3C2410 DMA support. This is needed for drivers like sound which | ||
| 140 | use the S3C2410's DMA system to move data to and from the | ||
| 141 | peripheral blocks. | ||
| 142 | |||
| 143 | config S3C2410_DMA_DEBUG | ||
| 144 | bool "S3C2410 DMA support debug" | ||
| 145 | depends on ARCH_S3C24XX && S3C2410_DMA | ||
| 146 | help | ||
| 147 | Enable debugging output for the DMA code. This option sends info | ||
| 148 | to the kernel log, at priority KERN_DEBUG. | ||
| 149 | |||
| 114 | config S3C2410_DMA | 150 | config S3C2410_DMA |
| 115 | bool | 151 | bool |
| 116 | depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442) | 152 | depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442) |
| @@ -123,6 +159,74 @@ config S3C2410_PM | |||
| 123 | help | 159 | help |
| 124 | Power Management code common to S3C2410 and better | 160 | Power Management code common to S3C2410 and better |
| 125 | 161 | ||
| 162 | # low-level serial option nodes | ||
| 163 | |||
| 164 | config CPU_LLSERIAL_S3C2410_ONLY | ||
| 165 | bool | ||
| 166 | default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 | ||
| 167 | |||
| 168 | config CPU_LLSERIAL_S3C2440_ONLY | ||
| 169 | bool | ||
| 170 | default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 | ||
| 171 | |||
| 172 | config CPU_LLSERIAL_S3C2410 | ||
| 173 | bool | ||
| 174 | help | ||
| 175 | Selected if there is an S3C2410 (or register compatible) serial | ||
| 176 | low-level implementation needed | ||
| 177 | |||
| 178 | config CPU_LLSERIAL_S3C2440 | ||
| 179 | bool | ||
| 180 | help | ||
| 181 | Selected if there is an S3C2440 (or register compatible) serial | ||
| 182 | low-level implementation needed | ||
| 183 | |||
| 184 | # gpio configurations | ||
| 185 | |||
| 186 | config S3C24XX_GPIO_EXTRA | ||
| 187 | int | ||
| 188 | default 128 if S3C24XX_GPIO_EXTRA128 | ||
| 189 | default 64 if S3C24XX_GPIO_EXTRA64 | ||
| 190 | default 16 if ARCH_H1940 | ||
| 191 | default 0 | ||
| 192 | |||
| 193 | config S3C24XX_GPIO_EXTRA64 | ||
| 194 | bool | ||
| 195 | help | ||
| 196 | Add an extra 64 gpio numbers to the available GPIO pool. This is | ||
| 197 | available for boards that need extra gpios for external devices. | ||
| 198 | |||
| 199 | config S3C24XX_GPIO_EXTRA128 | ||
| 200 | bool | ||
| 201 | help | ||
| 202 | Add an extra 128 gpio numbers to the available GPIO pool. This is | ||
| 203 | available for boards that need extra gpios for external devices. | ||
| 204 | |||
| 205 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 | ||
| 206 | |||
| 207 | config S3C2410_IOTIMING | ||
| 208 | bool | ||
| 209 | depends on CPU_FREQ_S3C24XX | ||
| 210 | help | ||
| 211 | Internal node to select io timing code that is common to the s3c2410 | ||
| 212 | and s3c2440/s3c2442 cpu frequency support. | ||
| 213 | |||
| 214 | config S3C2410_CPUFREQ_UTILS | ||
| 215 | bool | ||
| 216 | depends on CPU_FREQ_S3C24XX | ||
| 217 | help | ||
| 218 | Internal node to select timing code that is common to the s3c2410 | ||
| 219 | and s3c2440/s3c244 cpu frequency support. | ||
| 220 | |||
| 221 | # cpu frequency support common to s3c2412, s3c2413 and s3c2442 | ||
| 222 | |||
| 223 | config S3C2412_IOTIMING | ||
| 224 | bool | ||
| 225 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443) | ||
| 226 | help | ||
| 227 | Intel node to select io timing code that is common to the s3c2412 | ||
| 228 | and the s3c2443. | ||
| 229 | |||
| 126 | # cpu-specific sections | 230 | # cpu-specific sections |
| 127 | 231 | ||
| 128 | if CPU_S3C2410 | 232 | if CPU_S3C2410 |
