diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/Kconfig')
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 70 |
1 files changed, 13 insertions, 57 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 40cf50b9940c..04284de7aca5 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -18,6 +18,8 @@ config PLAT_S3C24XX | |||
18 | help | 18 | help |
19 | Base platform code for any Samsung S3C24XX device | 19 | Base platform code for any Samsung S3C24XX device |
20 | 20 | ||
21 | |||
22 | |||
21 | menu "SAMSUNG S3C24XX SoCs Support" | 23 | menu "SAMSUNG S3C24XX SoCs Support" |
22 | 24 | ||
23 | comment "S3C24XX SoCs" | 25 | comment "S3C24XX SoCs" |
@@ -26,8 +28,7 @@ config CPU_S3C2410 | |||
26 | bool "SAMSUNG S3C2410" | 28 | bool "SAMSUNG S3C2410" |
27 | default y | 29 | default y |
28 | select CPU_ARM920T | 30 | select CPU_ARM920T |
29 | select CPU_LLSERIAL_S3C2410 | 31 | select S3C2410_COMMON_CLK |
30 | select S3C2410_CLOCK | ||
31 | select S3C2410_DMA if S3C24XX_DMA | 32 | select S3C2410_DMA if S3C24XX_DMA |
32 | select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ | 33 | select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ |
33 | select S3C2410_PM if PM | 34 | select S3C2410_PM if PM |
@@ -39,7 +40,7 @@ config CPU_S3C2410 | |||
39 | config CPU_S3C2412 | 40 | config CPU_S3C2412 |
40 | bool "SAMSUNG S3C2412" | 41 | bool "SAMSUNG S3C2412" |
41 | select CPU_ARM926T | 42 | select CPU_ARM926T |
42 | select CPU_LLSERIAL_S3C2440 | 43 | select S3C2412_COMMON_CLK |
43 | select S3C2412_DMA if S3C24XX_DMA | 44 | select S3C2412_DMA if S3C24XX_DMA |
44 | select S3C2412_PM if PM | 45 | select S3C2412_PM if PM |
45 | help | 46 | help |
@@ -48,19 +49,16 @@ config CPU_S3C2412 | |||
48 | config CPU_S3C2416 | 49 | config CPU_S3C2416 |
49 | bool "SAMSUNG S3C2416/S3C2450" | 50 | bool "SAMSUNG S3C2416/S3C2450" |
50 | select CPU_ARM926T | 51 | select CPU_ARM926T |
51 | select CPU_LLSERIAL_S3C2440 | ||
52 | select S3C2416_PM if PM | 52 | select S3C2416_PM if PM |
53 | select S3C2443_COMMON | 53 | select S3C2443_COMMON_CLK |
54 | select S3C2443_DMA if S3C24XX_DMA | 54 | select S3C2443_DMA if S3C24XX_DMA |
55 | select SAMSUNG_CLKSRC | ||
56 | help | 55 | help |
57 | Support for the S3C2416 SoC from the S3C24XX line | 56 | Support for the S3C2416 SoC from the S3C24XX line |
58 | 57 | ||
59 | config CPU_S3C2440 | 58 | config CPU_S3C2440 |
60 | bool "SAMSUNG S3C2440" | 59 | bool "SAMSUNG S3C2440" |
61 | select CPU_ARM920T | 60 | select CPU_ARM920T |
62 | select CPU_LLSERIAL_S3C2440 | 61 | select S3C2410_COMMON_CLK |
63 | select S3C2410_CLOCK | ||
64 | select S3C2410_PM if PM | 62 | select S3C2410_PM if PM |
65 | select S3C2440_DMA if S3C24XX_DMA | 63 | select S3C2440_DMA if S3C24XX_DMA |
66 | help | 64 | help |
@@ -69,8 +67,7 @@ config CPU_S3C2440 | |||
69 | config CPU_S3C2442 | 67 | config CPU_S3C2442 |
70 | bool "SAMSUNG S3C2442" | 68 | bool "SAMSUNG S3C2442" |
71 | select CPU_ARM920T | 69 | select CPU_ARM920T |
72 | select CPU_LLSERIAL_S3C2440 | 70 | select S3C2410_COMMON_CLK |
73 | select S3C2410_CLOCK | ||
74 | select S3C2410_DMA if S3C24XX_DMA | 71 | select S3C2410_DMA if S3C24XX_DMA |
75 | select S3C2410_PM if PM | 72 | select S3C2410_PM if PM |
76 | help | 73 | help |
@@ -84,26 +81,13 @@ config CPU_S3C244X | |||
84 | config CPU_S3C2443 | 81 | config CPU_S3C2443 |
85 | bool "SAMSUNG S3C2443" | 82 | bool "SAMSUNG S3C2443" |
86 | select CPU_ARM920T | 83 | select CPU_ARM920T |
87 | select CPU_LLSERIAL_S3C2440 | 84 | select S3C2443_COMMON_CLK |
88 | select S3C2443_COMMON | ||
89 | select S3C2443_DMA if S3C24XX_DMA | 85 | select S3C2443_DMA if S3C24XX_DMA |
90 | select SAMSUNG_CLKSRC | ||
91 | help | 86 | help |
92 | Support for the S3C2443 SoC from the S3C24XX line | 87 | Support for the S3C2443 SoC from the S3C24XX line |
93 | 88 | ||
94 | # common code | 89 | # common code |
95 | 90 | ||
96 | config S3C2410_CLOCK | ||
97 | bool | ||
98 | help | ||
99 | Clock code for the S3C2410, and similar processors which | ||
100 | is currently includes the S3C2410, S3C2440, S3C2442. | ||
101 | |||
102 | config S3C24XX_DCLK | ||
103 | bool | ||
104 | help | ||
105 | Clock code for supporting DCLK/CLKOUT on S3C24XX architectures | ||
106 | |||
107 | config S3C24XX_SMDK | 91 | config S3C24XX_SMDK |
108 | bool | 92 | bool |
109 | help | 93 | help |
@@ -158,28 +142,6 @@ config S3C2410_PM | |||
158 | help | 142 | help |
159 | Power Management code common to S3C2410 and better | 143 | Power Management code common to S3C2410 and better |
160 | 144 | ||
161 | # low-level serial option nodes | ||
162 | |||
163 | config CPU_LLSERIAL_S3C2410_ONLY | ||
164 | bool | ||
165 | default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 | ||
166 | |||
167 | config CPU_LLSERIAL_S3C2440_ONLY | ||
168 | bool | ||
169 | default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 | ||
170 | |||
171 | config CPU_LLSERIAL_S3C2410 | ||
172 | bool | ||
173 | help | ||
174 | Selected if there is an S3C2410 (or register compatible) serial | ||
175 | low-level implementation needed | ||
176 | |||
177 | config CPU_LLSERIAL_S3C2440 | ||
178 | bool | ||
179 | help | ||
180 | Selected if there is an S3C2440 (or register compatible) serial | ||
181 | low-level implementation needed | ||
182 | |||
183 | config S3C24XX_PLL | 145 | config S3C24XX_PLL |
184 | bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)" | 146 | bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)" |
185 | depends on ARM_S3C24XX_CPUFREQ | 147 | depends on ARM_S3C24XX_CPUFREQ |
@@ -258,8 +220,8 @@ config ARCH_BAST | |||
258 | bool "Simtec Electronics BAST (EB2410ITX)" | 220 | bool "Simtec Electronics BAST (EB2410ITX)" |
259 | select ISA | 221 | select ISA |
260 | select MACH_BAST_IDE | 222 | select MACH_BAST_IDE |
223 | select S3C2410_COMMON_DCLK | ||
261 | select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ | 224 | select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ |
262 | select S3C24XX_DCLK | ||
263 | select S3C24XX_SIMTEC_NOR | 225 | select S3C24XX_SIMTEC_NOR |
264 | select S3C24XX_SIMTEC_PM if PM | 226 | select S3C24XX_SIMTEC_PM if PM |
265 | select S3C24XX_SIMTEC_USB | 227 | select S3C24XX_SIMTEC_USB |
@@ -340,7 +302,7 @@ config MACH_TCT_HAMMER | |||
340 | config MACH_VR1000 | 302 | config MACH_VR1000 |
341 | bool "Thorcom VR1000" | 303 | bool "Thorcom VR1000" |
342 | select MACH_BAST_IDE | 304 | select MACH_BAST_IDE |
343 | select S3C24XX_DCLK | 305 | select S3C2410_COMMON_DCLK |
344 | select S3C24XX_SIMTEC_NOR | 306 | select S3C24XX_SIMTEC_NOR |
345 | select S3C24XX_SIMTEC_PM if PM | 307 | select S3C24XX_SIMTEC_PM if PM |
346 | select S3C24XX_SIMTEC_USB | 308 | select S3C24XX_SIMTEC_USB |
@@ -519,8 +481,8 @@ comment "S3C2440 Boards" | |||
519 | config MACH_ANUBIS | 481 | config MACH_ANUBIS |
520 | bool "Simtec Electronics ANUBIS" | 482 | bool "Simtec Electronics ANUBIS" |
521 | select HAVE_PATA_PLATFORM | 483 | select HAVE_PATA_PLATFORM |
484 | select S3C2410_COMMON_DCLK | ||
522 | select S3C2440_XTAL_12000000 | 485 | select S3C2440_XTAL_12000000 |
523 | select S3C24XX_DCLK | ||
524 | select S3C24XX_SIMTEC_PM if PM | 486 | select S3C24XX_SIMTEC_PM if PM |
525 | select S3C_DEV_USB_HOST | 487 | select S3C_DEV_USB_HOST |
526 | help | 488 | help |
@@ -558,9 +520,9 @@ config MACH_NEXCODER_2440 | |||
558 | 520 | ||
559 | config MACH_OSIRIS | 521 | config MACH_OSIRIS |
560 | bool "Simtec IM2440D20 (OSIRIS) module" | 522 | bool "Simtec IM2440D20 (OSIRIS) module" |
523 | select S3C2410_COMMON_DCLK | ||
561 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ | 524 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ |
562 | select S3C2440_XTAL_12000000 | 525 | select S3C2440_XTAL_12000000 |
563 | select S3C24XX_DCLK | ||
564 | select S3C24XX_SIMTEC_PM if PM | 526 | select S3C24XX_SIMTEC_PM if PM |
565 | select S3C_DEV_NAND | 527 | select S3C_DEV_NAND |
566 | select S3C_DEV_USB_HOST | 528 | select S3C_DEV_USB_HOST |
@@ -629,9 +591,9 @@ config MACH_RX1950 | |||
629 | bool "HP iPAQ rx1950" | 591 | bool "HP iPAQ rx1950" |
630 | select I2C | 592 | select I2C |
631 | select PM_H1940 if PM | 593 | select PM_H1940 if PM |
594 | select S3C2410_COMMON_DCLK | ||
632 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ | 595 | select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ |
633 | select S3C2440_XTAL_16934400 | 596 | select S3C2440_XTAL_16934400 |
634 | select S3C24XX_DCLK | ||
635 | select S3C24XX_PWM | 597 | select S3C24XX_PWM |
636 | select S3C_DEV_NAND | 598 | select S3C_DEV_NAND |
637 | help | 599 | help |
@@ -641,12 +603,6 @@ endif # CPU_S3C2442 | |||
641 | 603 | ||
642 | if CPU_S3C2443 || CPU_S3C2416 | 604 | if CPU_S3C2443 || CPU_S3C2416 |
643 | 605 | ||
644 | config S3C2443_COMMON | ||
645 | bool | ||
646 | help | ||
647 | Common code for the S3C2443 and similar processors, which includes | ||
648 | the S3C2416 and S3C2450. | ||
649 | |||
650 | config S3C2443_DMA | 606 | config S3C2443_DMA |
651 | bool | 607 | bool |
652 | help | 608 | help |