diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-05 12:45:09 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-15 03:10:13 -0500 |
commit | b6a604137bb978d9f65b1228cf0bb691ece45cba (patch) | |
tree | 9fe4d3df50c44249d7a4344bb137b96904d627fb | |
parent | 9745626b65b856bf58e70feb4eee1e5471db699e (diff) |
ARM: SAMSUNG: Move device definitions in plat-samsung
Move all the platform device definitions from plat-s3c into plat-samsung
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/plat-s3c/Kconfig | 42 | ||||
-rw-r--r-- | arch/arm/plat-s3c/Makefile | 12 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 42 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 12 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-fb.c (renamed from arch/arm/plat-s3c/dev-fb.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-hsmmc.c (renamed from arch/arm/plat-s3c/dev-hsmmc.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-hsmmc1.c (renamed from arch/arm/plat-s3c/dev-hsmmc1.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-hsmmc2.c (renamed from arch/arm/plat-s3c/dev-hsmmc2.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-i2c0.c (renamed from arch/arm/plat-s3c/dev-i2c0.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-i2c1.c (renamed from arch/arm/plat-s3c/dev-i2c1.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-nand.c (renamed from arch/arm/plat-s3c/dev-nand.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-usb-hsotg.c (renamed from arch/arm/plat-s3c/dev-usb-hsotg.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-samsung/dev-usb.c (renamed from arch/arm/plat-s3c/dev-usb.c) | 0 |
13 files changed, 54 insertions, 54 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig index 9e9d0286e48f..cd979b1f6120 100644 --- a/arch/arm/plat-s3c/Kconfig +++ b/arch/arm/plat-s3c/Kconfig | |||
@@ -170,46 +170,4 @@ config S3C_DMA | |||
170 | help | 170 | help |
171 | Internal configuration for S3C DMA core | 171 | Internal configuration for S3C DMA core |
172 | 172 | ||
173 | # device definitions to compile in | ||
174 | |||
175 | config S3C_DEV_HSMMC | ||
176 | bool | ||
177 | help | ||
178 | Compile in platform device definitions for HSMMC code | ||
179 | |||
180 | config S3C_DEV_HSMMC1 | ||
181 | bool | ||
182 | help | ||
183 | Compile in platform device definitions for HSMMC channel 1 | ||
184 | |||
185 | config S3C_DEV_HSMMC2 | ||
186 | bool | ||
187 | help | ||
188 | Compile in platform device definitions for HSMMC channel 2 | ||
189 | |||
190 | config S3C_DEV_I2C1 | ||
191 | bool | ||
192 | help | ||
193 | Compile in platform device definitions for I2C channel 1 | ||
194 | |||
195 | config S3C_DEV_FB | ||
196 | bool | ||
197 | help | ||
198 | Compile in platform device definition for framebuffer | ||
199 | |||
200 | config S3C_DEV_USB_HOST | ||
201 | bool | ||
202 | help | ||
203 | Compile in platform device definition for USB host. | ||
204 | |||
205 | config S3C_DEV_USB_HSOTG | ||
206 | bool | ||
207 | help | ||
208 | Compile in platform device definition for USB high-speed OtG | ||
209 | |||
210 | config S3C_DEV_NAND | ||
211 | bool | ||
212 | help | ||
213 | Compile in platform device definition for NAND controller | ||
214 | |||
215 | endif | 173 | endif |
diff --git a/arch/arm/plat-s3c/Makefile b/arch/arm/plat-s3c/Makefile index ef10a9131bba..d86299556552 100644 --- a/arch/arm/plat-s3c/Makefile +++ b/arch/arm/plat-s3c/Makefile | |||
@@ -29,15 +29,3 @@ obj-$(CONFIG_S3C2410_PM_CHECK) += pm-check.o | |||
29 | # PWM support | 29 | # PWM support |
30 | 30 | ||
31 | obj-$(CONFIG_HAVE_PWM) += pwm.o | 31 | obj-$(CONFIG_HAVE_PWM) += pwm.o |
32 | |||
33 | # devices | ||
34 | |||
35 | obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o | ||
36 | obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o | ||
37 | obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o | ||
38 | obj-y += dev-i2c0.o | ||
39 | obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o | ||
40 | obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o | ||
41 | obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o | ||
42 | obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o | ||
43 | obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index e3ae68472ea7..5a72a5235573 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -19,4 +19,46 @@ config SAMSUNG_CLKSRC | |||
19 | Select the clock code for the clksrc implementation | 19 | Select the clock code for the clksrc implementation |
20 | used by newer systems such as the S3C64XX. | 20 | used by newer systems such as the S3C64XX. |
21 | 21 | ||
22 | # device definitions to compile in | ||
23 | |||
24 | config S3C_DEV_HSMMC | ||
25 | bool | ||
26 | help | ||
27 | Compile in platform device definitions for HSMMC code | ||
28 | |||
29 | config S3C_DEV_HSMMC1 | ||
30 | bool | ||
31 | help | ||
32 | Compile in platform device definitions for HSMMC channel 1 | ||
33 | |||
34 | config S3C_DEV_HSMMC2 | ||
35 | bool | ||
36 | help | ||
37 | Compile in platform device definitions for HSMMC channel 2 | ||
38 | |||
39 | config S3C_DEV_I2C1 | ||
40 | bool | ||
41 | help | ||
42 | Compile in platform device definitions for I2C channel 1 | ||
43 | |||
44 | config S3C_DEV_FB | ||
45 | bool | ||
46 | help | ||
47 | Compile in platform device definition for framebuffer | ||
48 | |||
49 | config S3C_DEV_USB_HOST | ||
50 | bool | ||
51 | help | ||
52 | Compile in platform device definition for USB host. | ||
53 | |||
54 | config S3C_DEV_USB_HSOTG | ||
55 | bool | ||
56 | help | ||
57 | Compile in platform device definition for USB high-speed OtG | ||
58 | |||
59 | config S3C_DEV_NAND | ||
60 | bool | ||
61 | help | ||
62 | Compile in platform device definition for NAND controller | ||
63 | |||
22 | endif | 64 | endif |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index d4d5f942d34c..32f03e549d0a 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -15,3 +15,15 @@ obj-y += clock.o | |||
15 | obj-y += pwm-clock.o | 15 | obj-y += pwm-clock.o |
16 | 16 | ||
17 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o | 17 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o |
18 | |||
19 | # devices | ||
20 | |||
21 | obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o | ||
22 | obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o | ||
23 | obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o | ||
24 | obj-y += dev-i2c0.o | ||
25 | obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o | ||
26 | obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o | ||
27 | obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o | ||
28 | obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o | ||
29 | obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o | ||
diff --git a/arch/arm/plat-s3c/dev-fb.c b/arch/arm/plat-samsung/dev-fb.c index a90198fc4b0f..a90198fc4b0f 100644 --- a/arch/arm/plat-s3c/dev-fb.c +++ b/arch/arm/plat-samsung/dev-fb.c | |||
diff --git a/arch/arm/plat-s3c/dev-hsmmc.c b/arch/arm/plat-samsung/dev-hsmmc.c index 4c05b39810e2..4c05b39810e2 100644 --- a/arch/arm/plat-s3c/dev-hsmmc.c +++ b/arch/arm/plat-samsung/dev-hsmmc.c | |||
diff --git a/arch/arm/plat-s3c/dev-hsmmc1.c b/arch/arm/plat-samsung/dev-hsmmc1.c index e49bc4cd0ee6..e49bc4cd0ee6 100644 --- a/arch/arm/plat-s3c/dev-hsmmc1.c +++ b/arch/arm/plat-samsung/dev-hsmmc1.c | |||
diff --git a/arch/arm/plat-s3c/dev-hsmmc2.c b/arch/arm/plat-samsung/dev-hsmmc2.c index 824580bc0e06..824580bc0e06 100644 --- a/arch/arm/plat-s3c/dev-hsmmc2.c +++ b/arch/arm/plat-samsung/dev-hsmmc2.c | |||
diff --git a/arch/arm/plat-s3c/dev-i2c0.c b/arch/arm/plat-samsung/dev-i2c0.c index 4c761529b949..4c761529b949 100644 --- a/arch/arm/plat-s3c/dev-i2c0.c +++ b/arch/arm/plat-samsung/dev-i2c0.c | |||
diff --git a/arch/arm/plat-s3c/dev-i2c1.c b/arch/arm/plat-samsung/dev-i2c1.c index d44f79110506..d44f79110506 100644 --- a/arch/arm/plat-s3c/dev-i2c1.c +++ b/arch/arm/plat-samsung/dev-i2c1.c | |||
diff --git a/arch/arm/plat-s3c/dev-nand.c b/arch/arm/plat-samsung/dev-nand.c index a52fb6cf618f..a52fb6cf618f 100644 --- a/arch/arm/plat-s3c/dev-nand.c +++ b/arch/arm/plat-samsung/dev-nand.c | |||
diff --git a/arch/arm/plat-s3c/dev-usb-hsotg.c b/arch/arm/plat-samsung/dev-usb-hsotg.c index e2f604b51c86..e2f604b51c86 100644 --- a/arch/arm/plat-s3c/dev-usb-hsotg.c +++ b/arch/arm/plat-samsung/dev-usb-hsotg.c | |||
diff --git a/arch/arm/plat-s3c/dev-usb.c b/arch/arm/plat-samsung/dev-usb.c index 2ee85abed6d9..2ee85abed6d9 100644 --- a/arch/arm/plat-s3c/dev-usb.c +++ b/arch/arm/plat-samsung/dev-usb.c | |||