diff options
author | Heiko Stuebner <heiko@sntech.de> | 2012-03-07 04:47:15 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-07 04:47:15 -0500 |
commit | 2c5689a7c96ea4c04f0454cd29eaf957a3080877 (patch) | |
tree | 2fb8dd5bbddc1dc55d30b62c273b0ab1705d6e70 | |
parent | ec2cc753f47bfb4ce3584eb8cd9119340617bf12 (diff) |
ARM: S3C24XX: Move device setup files to mach directory
Includes a small rename of the SETUP_TS option to a S3C24XX prefix.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-i2c.c (renamed from arch/arm/plat-s3c24xx/setup-i2c.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/setup-ts.c (renamed from arch/arm/plat-s3c24xx/setup-ts.c) | 0 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/Makefile | 4 |
6 files changed, 8 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index df6f419f9a5d..b399021ed6eb 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -106,6 +106,11 @@ config S3C24XX_SIMTEC_USB | |||
106 | help | 106 | help |
107 | USB management code for common Simtec S3C24XX boards | 107 | USB management code for common Simtec S3C24XX boards |
108 | 108 | ||
109 | config S3C24XX_SETUP_TS | ||
110 | bool | ||
111 | help | ||
112 | Compile in platform device definition for Samsung TouchScreen. | ||
113 | |||
109 | # cpu-specific sections | 114 | # cpu-specific sections |
110 | 115 | ||
111 | if CPU_S3C2410 | 116 | if CPU_S3C2410 |
@@ -178,7 +183,7 @@ config ARCH_H1940 | |||
178 | select PM_H1940 if PM | 183 | select PM_H1940 if PM |
179 | select S3C_DEV_USB_HOST | 184 | select S3C_DEV_USB_HOST |
180 | select S3C_DEV_NAND | 185 | select S3C_DEV_NAND |
181 | select S3C2410_SETUP_TS | 186 | select S3C24XX_SETUP_TS |
182 | help | 187 | help |
183 | Say Y here if you are using the HP IPAQ H1940 | 188 | Say Y here if you are using the HP IPAQ H1940 |
184 | 189 | ||
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile index 2843c81aa4f7..3f39e6fc4b23 100644 --- a/arch/arm/mach-s3c24xx/Makefile +++ b/arch/arm/mach-s3c24xx/Makefile | |||
@@ -91,3 +91,5 @@ obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o | |||
91 | # device setup | 91 | # device setup |
92 | 92 | ||
93 | obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | 93 | obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o |
94 | obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o | ||
95 | obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts.o | ||
diff --git a/arch/arm/plat-s3c24xx/setup-i2c.c b/arch/arm/mach-s3c24xx/setup-i2c.c index 9e90a7cbd1d6..9e90a7cbd1d6 100644 --- a/arch/arm/plat-s3c24xx/setup-i2c.c +++ b/arch/arm/mach-s3c24xx/setup-i2c.c | |||
diff --git a/arch/arm/plat-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c index ed2638663675..ed2638663675 100644 --- a/arch/arm/plat-s3c24xx/setup-ts.c +++ b/arch/arm/mach-s3c24xx/setup-ts.c | |||
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig index 0338d207475d..21bf6adb9198 100644 --- a/arch/arm/plat-s3c24xx/Kconfig +++ b/arch/arm/plat-s3c24xx/Kconfig | |||
@@ -113,9 +113,4 @@ config S3C2412_IOTIMING | |||
113 | Intel node to select io timing code that is common to the s3c2412 | 113 | Intel node to select io timing code that is common to the s3c2412 |
114 | and the s3c2443. | 114 | and the s3c2443. |
115 | 115 | ||
116 | config S3C2410_SETUP_TS | ||
117 | bool | ||
118 | help | ||
119 | Compile in platform device definition for Samsung TouchScreen. | ||
120 | |||
121 | endif | 116 | endif |
diff --git a/arch/arm/plat-s3c24xx/Makefile b/arch/arm/plat-s3c24xx/Makefile index 27dd9c5fc147..2467b800cc76 100644 --- a/arch/arm/plat-s3c24xx/Makefile +++ b/arch/arm/plat-s3c24xx/Makefile | |||
@@ -31,7 +31,3 @@ obj-$(CONFIG_S3C24XX_DMA) += dma.o | |||
31 | obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o | 31 | obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o |
32 | obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o | 32 | obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o |
33 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o | 33 | obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o |
34 | |||
35 | # device specific setup and/or initialisation | ||
36 | obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o | ||
37 | obj-$(CONFIG_S3C2410_SETUP_TS) += setup-ts.o | ||