diff options
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 104 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 14 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-dclk.c (renamed from arch/arm/plat-s3c24xx/clock-dclk.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2410.c (renamed from arch/arm/plat-s3c24xx/s3c2410-clock.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/cpufreq-debugfs.c (renamed from arch/arm/plat-s3c24xx/cpu-freq-debugfs.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/cpufreq-utils.c (renamed from arch/arm/plat-s3c24xx/s3c2410-cpufreq-utils.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/cpufreq.c (renamed from arch/arm/plat-s3c24xx/cpu-freq.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma.c (renamed from arch/arm/plat-s3c24xx/dma.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/iotiming-s3c2410.c (renamed from arch/arm/plat-s3c24xx/s3c2410-iotiming.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/iotiming-s3c2412.c (renamed from arch/arm/plat-s3c24xx/s3c2412-iotiming.c) | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq.c (renamed from arch/arm/plat-s3c24xx/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Kconfig | 117 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Makefile | 27 |
15 files changed, 126 insertions, 163 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f22c510cb34a..221dda1e2662 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1087,7 +1087,6 @@ source "arch/arm/mach-realview/Kconfig" | |||
1087 | source "arch/arm/mach-sa1100/Kconfig" | 1087 | source "arch/arm/mach-sa1100/Kconfig" |
1088 | 1088 | ||
1089 | source "arch/arm/plat-samsung/Kconfig" | 1089 | source "arch/arm/plat-samsung/Kconfig" |
1090 | source "arch/arm/plat-s3c24xx/Kconfig" | ||
1091 | 1090 | ||
1092 | source "arch/arm/mach-socfpga/Kconfig" | 1091 | source "arch/arm/mach-socfpga/Kconfig" |
1093 | 1092 | ||
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 0935dac37f62..a554f759c72f 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -204,7 +204,7 @@ plat-$(CONFIG_ARCH_S3C64XX) += samsung | |||
204 | plat-$(CONFIG_PLAT_IOP) += iop | 204 | plat-$(CONFIG_PLAT_IOP) += iop |
205 | plat-$(CONFIG_PLAT_ORION) += orion | 205 | plat-$(CONFIG_PLAT_ORION) += orion |
206 | plat-$(CONFIG_PLAT_PXA) += pxa | 206 | plat-$(CONFIG_PLAT_PXA) += pxa |
207 | plat-$(CONFIG_PLAT_S3C24XX) += s3c24xx samsung | 207 | plat-$(CONFIG_PLAT_S3C24XX) += samsung |
208 | plat-$(CONFIG_PLAT_S5P) += samsung | 208 | plat-$(CONFIG_PLAT_S5P) += samsung |
209 | plat-$(CONFIG_PLAT_SPEAR) += spear | 209 | plat-$(CONFIG_PLAT_SPEAR) += spear |
210 | plat-$(CONFIG_PLAT_VERSATILE) += versatile | 210 | plat-$(CONFIG_PLAT_VERSATILE) += versatile |
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 |
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile index 1d67582da41a..af53d27d5c36 100644 --- a/arch/arm/mach-s3c24xx/Makefile +++ b/arch/arm/mach-s3c24xx/Makefile | |||
@@ -14,7 +14,7 @@ obj- := | |||
14 | 14 | ||
15 | # core | 15 | # core |
16 | 16 | ||
17 | obj-y += common.o | 17 | obj-y += common.o irq.o |
18 | 18 | ||
19 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o | 19 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o |
20 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o | 20 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o |
@@ -47,9 +47,21 @@ obj-$(CONFIG_PM) += pm.o irq-pm.o sleep.o | |||
47 | 47 | ||
48 | # common code | 48 | # common code |
49 | 49 | ||
50 | obj-$(CONFIG_S3C24XX_DCLK) += clock-dclk.o | ||
51 | obj-$(CONFIG_S3C24XX_DMA) += dma.o | ||
52 | |||
53 | obj-$(CONFIG_S3C2410_CLOCK) += clock-s3c2410.o | ||
54 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += cpufreq-utils.o | ||
55 | |||
56 | obj-$(CONFIG_S3C2410_IOTIMING) += iotiming-s3c2410.o | ||
57 | obj-$(CONFIG_S3C2412_IOTIMING) += iotiming-s3c2412.o | ||
58 | |||
50 | obj-$(CONFIG_S3C2443_COMMON) += common-s3c2443.o | 59 | obj-$(CONFIG_S3C2443_COMMON) += common-s3c2443.o |
51 | obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o | 60 | obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o |
52 | 61 | ||
62 | obj-$(CONFIG_CPU_FREQ_S3C24XX) += cpufreq.o | ||
63 | obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpufreq-debugfs.o | ||
64 | |||
53 | # | 65 | # |
54 | # machine support | 66 | # machine support |
55 | # following is ordered alphabetically by option text. | 67 | # following is ordered alphabetically by option text. |
diff --git a/arch/arm/plat-s3c24xx/clock-dclk.c b/arch/arm/mach-s3c24xx/clock-dclk.c index f95d3268ae1f..1edd9b2369c5 100644 --- a/arch/arm/plat-s3c24xx/clock-dclk.c +++ b/arch/arm/mach-s3c24xx/clock-dclk.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/clock-dclk.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2004-2008 Simtec Electronics | 2 | * Copyright (c) 2004-2008 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 3 | * Ben Dooks <ben@simtec.co.uk> |
5 | * http://armlinux.simtec.co.uk/ | 4 | * http://armlinux.simtec.co.uk/ |
diff --git a/arch/arm/plat-s3c24xx/s3c2410-clock.c b/arch/arm/mach-s3c24xx/clock-s3c2410.c index 25dc4d4397b1..641266f3d152 100644 --- a/arch/arm/plat-s3c24xx/s3c2410-clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2410.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/mach-s3c2410/clock.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2006 Simtec Electronics | 2 | * Copyright (c) 2006 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 3 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s3c24xx/cpu-freq-debugfs.c b/arch/arm/mach-s3c24xx/cpufreq-debugfs.c index c7adad0e8de0..9b7b4289d66c 100644 --- a/arch/arm/plat-s3c24xx/cpu-freq-debugfs.c +++ b/arch/arm/mach-s3c24xx/cpufreq-debugfs.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/cpu-freq-debugfs.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2009 Simtec Electronics | 2 | * Copyright (c) 2009 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/arch/arm/plat-s3c24xx/s3c2410-cpufreq-utils.c b/arch/arm/mach-s3c24xx/cpufreq-utils.c index 43ea80190d87..89e4e2b7a82e 100644 --- a/arch/arm/plat-s3c24xx/s3c2410-cpufreq-utils.c +++ b/arch/arm/mach-s3c24xx/cpufreq-utils.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/s3c2410-cpufreq-utils.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2009 Simtec Electronics | 2 | * Copyright (c) 2009 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/arch/arm/plat-s3c24xx/cpu-freq.c b/arch/arm/mach-s3c24xx/cpufreq.c index 468079938884..5f181e733eee 100644 --- a/arch/arm/plat-s3c24xx/cpu-freq.c +++ b/arch/arm/mach-s3c24xx/cpufreq.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/cpu-freq.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2006-2008 Simtec Electronics | 2 | * Copyright (c) 2006-2008 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/mach-s3c24xx/dma.c index ba3e76c95504..aab64909e9a3 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/mach-s3c24xx/dma.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/dma.c | 1 | /* |
2 | * | ||
3 | * Copyright 2003-2006 Simtec Electronics | 2 | * Copyright 2003-2006 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 3 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 4 | * |
diff --git a/arch/arm/plat-s3c24xx/s3c2410-iotiming.c b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c index b1908e56da1b..48ccfcf715fa 100644 --- a/arch/arm/plat-s3c24xx/s3c2410-iotiming.c +++ b/arch/arm/mach-s3c24xx/iotiming-s3c2410.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/s3c2410-iotiming.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2006-2009 Simtec Electronics | 2 | * Copyright (c) 2006-2009 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/arch/arm/plat-s3c24xx/s3c2412-iotiming.c b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c index 48eee39ab369..95273424d657 100644 --- a/arch/arm/plat-s3c24xx/s3c2412-iotiming.c +++ b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-s3c24xx/s3c2412-iotiming.c | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2006-2008 Simtec Electronics | 2 | * Copyright (c) 2006-2008 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/mach-s3c24xx/irq.c index cb9f5e011e73..cb9f5e011e73 100644 --- a/arch/arm/plat-s3c24xx/irq.c +++ b/arch/arm/mach-s3c24xx/irq.c | |||
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig deleted file mode 100644 index 3bb5c8fd34a1..000000000000 --- a/arch/arm/plat-s3c24xx/Kconfig +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | # Copyright 2007 Simtec Electronics | ||
2 | # | ||
3 | # Licensed under GPLv2 | ||
4 | |||
5 | config PLAT_S3C24XX | ||
6 | bool | ||
7 | depends on ARCH_S3C24XX | ||
8 | default y | ||
9 | select ARCH_REQUIRE_GPIOLIB | ||
10 | select NO_IOPORT | ||
11 | select S3C_DEV_NAND | ||
12 | select IRQ_DOMAIN | ||
13 | help | ||
14 | Base platform code for any Samsung S3C24XX device | ||
15 | |||
16 | if PLAT_S3C24XX | ||
17 | |||
18 | # low-level serial option nodes | ||
19 | |||
20 | config CPU_LLSERIAL_S3C2410_ONLY | ||
21 | bool | ||
22 | default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440 | ||
23 | |||
24 | config CPU_LLSERIAL_S3C2440_ONLY | ||
25 | bool | ||
26 | default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410 | ||
27 | |||
28 | config CPU_LLSERIAL_S3C2410 | ||
29 | bool | ||
30 | help | ||
31 | Selected if there is an S3C2410 (or register compatible) serial | ||
32 | low-level implementation needed | ||
33 | |||
34 | config CPU_LLSERIAL_S3C2440 | ||
35 | bool | ||
36 | help | ||
37 | Selected if there is an S3C2440 (or register compatible) serial | ||
38 | low-level implementation needed | ||
39 | |||
40 | # code that is shared between a number of the s3c24xx implementations | ||
41 | |||
42 | config S3C2410_CLOCK | ||
43 | bool | ||
44 | help | ||
45 | Clock code for the S3C2410, and similar processors which | ||
46 | is currently includes the S3C2410, S3C2440, S3C2442. | ||
47 | |||
48 | config S3C24XX_DCLK | ||
49 | bool | ||
50 | help | ||
51 | Clock code for supporting DCLK/CLKOUT on S3C24XX architectures | ||
52 | |||
53 | # gpio configurations | ||
54 | |||
55 | config S3C24XX_GPIO_EXTRA | ||
56 | int | ||
57 | default 128 if S3C24XX_GPIO_EXTRA128 | ||
58 | default 64 if S3C24XX_GPIO_EXTRA64 | ||
59 | default 16 if ARCH_H1940 | ||
60 | default 0 | ||
61 | |||
62 | config S3C24XX_GPIO_EXTRA64 | ||
63 | bool | ||
64 | help | ||
65 | Add an extra 64 gpio numbers to the available GPIO pool. This is | ||
66 | available for boards that need extra gpios for external devices. | ||
67 | |||
68 | config S3C24XX_GPIO_EXTRA128 | ||
69 | bool | ||
70 | help | ||
71 | Add an extra 128 gpio numbers to the available GPIO pool. This is | ||
72 | available for boards that need extra gpios for external devices. | ||
73 | |||
74 | config S3C24XX_DMA | ||
75 | bool "S3C2410 DMA support" | ||
76 | depends on ARCH_S3C24XX | ||
77 | select S3C_DMA | ||
78 | help | ||
79 | S3C2410 DMA support. This is needed for drivers like sound which | ||
80 | use the S3C2410's DMA system to move data to and from the | ||
81 | peripheral blocks. | ||
82 | |||
83 | config S3C2410_DMA_DEBUG | ||
84 | bool "S3C2410 DMA support debug" | ||
85 | depends on ARCH_S3C24XX && S3C2410_DMA | ||
86 | help | ||
87 | Enable debugging output for the DMA code. This option sends info | ||
88 | to the kernel log, at priority KERN_DEBUG. | ||
89 | |||
90 | # common code for s3c24xx based machines, such as the SMDKs. | ||
91 | |||
92 | # cpu frequency items common between s3c2410 and s3c2440/s3c2442 | ||
93 | |||
94 | config S3C2410_IOTIMING | ||
95 | bool | ||
96 | depends on CPU_FREQ_S3C24XX | ||
97 | help | ||
98 | Internal node to select io timing code that is common to the s3c2410 | ||
99 | and s3c2440/s3c2442 cpu frequency support. | ||
100 | |||
101 | config S3C2410_CPUFREQ_UTILS | ||
102 | bool | ||
103 | depends on CPU_FREQ_S3C24XX | ||
104 | help | ||
105 | Internal node to select timing code that is common to the s3c2410 | ||
106 | and s3c2440/s3c244 cpu frequency support. | ||
107 | |||
108 | # cpu frequency support common to s3c2412, s3c2413 and s3c2442 | ||
109 | |||
110 | config S3C2412_IOTIMING | ||
111 | bool | ||
112 | depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443) | ||
113 | help | ||
114 | Intel node to select io timing code that is common to the s3c2412 | ||
115 | and the s3c2443. | ||
116 | |||
117 | endif | ||
diff --git a/arch/arm/plat-s3c24xx/Makefile b/arch/arm/plat-s3c24xx/Makefile deleted file mode 100644 index 9f60549c8da1..000000000000 --- a/arch/arm/plat-s3c24xx/Makefile +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | # arch/arm/plat-s3c24xx/Makefile | ||
2 | # | ||
3 | # Copyright 2007 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | |||
13 | # Core files | ||
14 | |||
15 | obj-y += irq.o | ||
16 | obj-$(CONFIG_S3C24XX_DCLK) += clock-dclk.o | ||
17 | |||
18 | obj-$(CONFIG_CPU_FREQ_S3C24XX) += cpu-freq.o | ||
19 | obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpu-freq-debugfs.o | ||
20 | |||
21 | # Architecture dependent builds | ||
22 | |||
23 | obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o | ||
24 | obj-$(CONFIG_S3C24XX_DMA) += dma.o | ||
25 | obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o | ||
26 | obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o | ||
27 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o | ||