diff options
-rw-r--r-- | arch/arm/mach-s5pc100/Kconfig | 8 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/setup-i2c0.c (renamed from arch/arm/plat-s5pc1xx/setup-i2c0.c) | 4 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/setup-i2c1.c (renamed from arch/arm/plat-s5pc1xx/setup-i2c1.c) | 4 | ||||
-rw-r--r-- | arch/arm/plat-s5pc1xx/Kconfig | 14 | ||||
-rw-r--r-- | arch/arm/plat-s5pc1xx/Makefile | 2 |
6 files changed, 12 insertions, 22 deletions
diff --git a/arch/arm/mach-s5pc100/Kconfig b/arch/arm/mach-s5pc100/Kconfig index 7d9b68c8fef5..8593337784e1 100644 --- a/arch/arm/mach-s5pc100/Kconfig +++ b/arch/arm/mach-s5pc100/Kconfig | |||
@@ -23,6 +23,11 @@ config S5PC100_SETUP_SDHCI | |||
23 | help | 23 | help |
24 | Internal helper functions for S5PC100 based SDHCI systems | 24 | Internal helper functions for S5PC100 based SDHCI systems |
25 | 25 | ||
26 | config S5PC100_SETUP_I2C1 | ||
27 | bool | ||
28 | help | ||
29 | Common setup code for i2c bus 1. | ||
30 | |||
26 | config MACH_SMDKC100 | 31 | config MACH_SMDKC100 |
27 | bool "SMDKC100" | 32 | bool "SMDKC100" |
28 | select CPU_S5PC100 | 33 | select CPU_S5PC100 |
@@ -31,9 +36,8 @@ config MACH_SMDKC100 | |||
31 | select S3C_DEV_HSMMC | 36 | select S3C_DEV_HSMMC |
32 | select S3C_DEV_HSMMC1 | 37 | select S3C_DEV_HSMMC1 |
33 | select S3C_DEV_HSMMC2 | 38 | select S3C_DEV_HSMMC2 |
34 | select S5PC1XX_SETUP_I2C0 | ||
35 | select S5PC1XX_SETUP_I2C1 | ||
36 | select S5PC100_SETUP_FB_24BPP | 39 | select S5PC100_SETUP_FB_24BPP |
40 | select S5PC100_SETUP_I2C1 | ||
37 | select S5PC100_SETUP_SDHCI | 41 | select S5PC100_SETUP_SDHCI |
38 | help | 42 | help |
39 | Machine support for the Samsung SMDKC100 | 43 | Machine support for the Samsung SMDKC100 |
diff --git a/arch/arm/mach-s5pc100/Makefile b/arch/arm/mach-s5pc100/Makefile index 1d1276c29cff..373bc546eae8 100644 --- a/arch/arm/mach-s5pc100/Makefile +++ b/arch/arm/mach-s5pc100/Makefile | |||
@@ -12,10 +12,12 @@ obj- := | |||
12 | # Core support for S5PC100 system | 12 | # Core support for S5PC100 system |
13 | 13 | ||
14 | obj-$(CONFIG_CPU_S5PC100) += cpu.o gpiolib.o | 14 | obj-$(CONFIG_CPU_S5PC100) += cpu.o gpiolib.o |
15 | obj-$(CONFIG_CPU_S5PC100) += setup-i2c0.o | ||
15 | 16 | ||
16 | # Helper and device support | 17 | # Helper and device support |
17 | 18 | ||
18 | obj-$(CONFIG_S5PC100_SETUP_FB_24BPP) += setup-fb-24bpp.o | 19 | obj-$(CONFIG_S5PC100_SETUP_FB_24BPP) += setup-fb-24bpp.o |
20 | obj-$(CONFIG_S5PC100_SETUP_I2C1) += setup-i2c1.o | ||
19 | obj-$(CONFIG_S5PC100_SETUP_SDHCI) += setup-sdhci.o | 21 | obj-$(CONFIG_S5PC100_SETUP_SDHCI) += setup-sdhci.o |
20 | 22 | ||
21 | # machine support | 23 | # machine support |
diff --git a/arch/arm/plat-s5pc1xx/setup-i2c0.c b/arch/arm/mach-s5pc100/setup-i2c0.c index 5e4a7c3a231e..dd3174e6ecc5 100644 --- a/arch/arm/plat-s5pc1xx/setup-i2c0.c +++ b/arch/arm/mach-s5pc100/setup-i2c0.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* linux/arch/arm/plat-s5pc1xx/setup-i2c0.c | 1 | /* linux/arch/arm/mach-s5pc100/setup-i2c0.c |
2 | * | 2 | * |
3 | * Copyright 2009 Samsung Electronics Co. | 3 | * Copyright 2009 Samsung Electronics Co. |
4 | * Byungho Min <bhmin@samsung.com> | 4 | * Byungho Min <bhmin@samsung.com> |
5 | * | 5 | * |
6 | * Base S5PC1XX I2C bus 0 gpio configuration | 6 | * Base S5PC100 I2C bus 0 gpio configuration |
7 | * | 7 | * |
8 | * Based on plat-s3c64xx/setup-i2c0.c | 8 | * Based on plat-s3c64xx/setup-i2c0.c |
9 | * | 9 | * |
diff --git a/arch/arm/plat-s5pc1xx/setup-i2c1.c b/arch/arm/mach-s5pc100/setup-i2c1.c index a0a8b4ae6ad8..d1fec26b69ee 100644 --- a/arch/arm/plat-s5pc1xx/setup-i2c1.c +++ b/arch/arm/mach-s5pc100/setup-i2c1.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* linux/arch/arm/plat-s3c64xx/setup-i2c1.c | 1 | /* linux/arch/arm/mach-s5pc100/setup-i2c1.c |
2 | * | 2 | * |
3 | * Copyright 2009 Samsung Electronics Co. | 3 | * Copyright 2009 Samsung Electronics Co. |
4 | * Byungho Min <bhmin@samsung.com> | 4 | * Byungho Min <bhmin@samsung.com> |
5 | * | 5 | * |
6 | * Base S5PC1XX I2C bus 1 gpio configuration | 6 | * Base S5PC100 I2C bus 1 gpio configuration |
7 | * | 7 | * |
8 | * Based on plat-s3c64xx/setup-i2c1.c | 8 | * Based on plat-s3c64xx/setup-i2c1.c |
9 | * | 9 | * |
diff --git a/arch/arm/plat-s5pc1xx/Kconfig b/arch/arm/plat-s5pc1xx/Kconfig index 708f7a0de065..c7bd2bbda239 100644 --- a/arch/arm/plat-s5pc1xx/Kconfig +++ b/arch/arm/plat-s5pc1xx/Kconfig | |||
@@ -39,20 +39,6 @@ config CPU_S5PC100_CLOCK | |||
39 | 39 | ||
40 | # platform specific device setup | 40 | # platform specific device setup |
41 | 41 | ||
42 | config S5PC1XX_SETUP_I2C0 | ||
43 | bool | ||
44 | default y | ||
45 | help | ||
46 | Common setup code for i2c bus 0. | ||
47 | |||
48 | Note, currently since i2c0 is always compiled, this setup helper | ||
49 | is always compiled with it. | ||
50 | |||
51 | config S5PC1XX_SETUP_I2C1 | ||
52 | bool | ||
53 | help | ||
54 | Common setup code for i2c bus 1. | ||
55 | |||
56 | config S5PC1XX_SETUP_SDHCI_GPIO | 42 | config S5PC1XX_SETUP_SDHCI_GPIO |
57 | bool | 43 | bool |
58 | help | 44 | help |
diff --git a/arch/arm/plat-s5pc1xx/Makefile b/arch/arm/plat-s5pc1xx/Makefile index a5b90c0cc487..9ce6409a9e02 100644 --- a/arch/arm/plat-s5pc1xx/Makefile +++ b/arch/arm/plat-s5pc1xx/Makefile | |||
@@ -23,6 +23,4 @@ obj-$(CONFIG_CPU_S5PC100_CLOCK) += s5pc100-clock.o | |||
23 | 23 | ||
24 | # Device setup | 24 | # Device setup |
25 | 25 | ||
26 | obj-$(CONFIG_S5PC1XX_SETUP_I2C0) += setup-i2c0.o | ||
27 | obj-$(CONFIG_S5PC1XX_SETUP_I2C1) += setup-i2c1.o | ||
28 | obj-$(CONFIG_S5PC1XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | 26 | obj-$(CONFIG_S5PC1XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o |