diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-05 12:28:20 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-15 03:10:13 -0500 |
commit | 4f830db9629e413e7c5523085ab009b0de5ae6d0 (patch) | |
tree | 8d3feb830483426e2e5f263dd1b65e564890a598 | |
parent | b6a604137bb978d9f65b1228cf0bb691ece45cba (diff) |
ARM: SAMSUNG: Move gpio-config.c into plat-samsung
The arch/arm/plat-s3c/gpio-config.c file is common to pretty much all the Samsung
SoCs, so move it to arch/arm/plat-samsung
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/plat-s3c/Kconfig | 33 | ||||
-rw-r--r-- | arch/arm/plat-s3c/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 35 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/plat-samsung/gpio-config.c (renamed from arch/arm/plat-s3c/gpio-config.c) | 0 |
5 files changed, 36 insertions, 34 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig index cd979b1f6120..454cc39b7adc 100644 --- a/arch/arm/plat-s3c/Kconfig +++ b/arch/arm/plat-s3c/Kconfig | |||
@@ -130,39 +130,6 @@ config S3C_GPIO_TRACK | |||
130 | Internal configuration option to enable the s3c specific gpio | 130 | Internal configuration option to enable the s3c specific gpio |
131 | chip tracking if the platform requires it. | 131 | chip tracking if the platform requires it. |
132 | 132 | ||
133 | config S3C_GPIO_PULL_UPDOWN | ||
134 | bool | ||
135 | help | ||
136 | Internal configuration to enable the correct GPIO pull helper | ||
137 | |||
138 | config S3C_GPIO_PULL_DOWN | ||
139 | bool | ||
140 | help | ||
141 | Internal configuration to enable the correct GPIO pull helper | ||
142 | |||
143 | config S3C_GPIO_PULL_UP | ||
144 | bool | ||
145 | help | ||
146 | Internal configuration to enable the correct GPIO pull helper | ||
147 | |||
148 | config S3C_GPIO_CFG_S3C24XX | ||
149 | bool | ||
150 | help | ||
151 | Internal configuration to enable S3C24XX style GPIO configuration | ||
152 | functions. | ||
153 | |||
154 | config S3C_GPIO_CFG_S3C64XX | ||
155 | bool | ||
156 | help | ||
157 | Internal configuration to enable S3C64XX style GPIO configuration | ||
158 | functions. | ||
159 | |||
160 | config S5P_GPIO_CFG_S5PC1XX | ||
161 | bool | ||
162 | help | ||
163 | Internal configuration to enable S5PC1XX style GPIO configuration | ||
164 | functions. | ||
165 | |||
166 | # DMA | 133 | # DMA |
167 | 134 | ||
168 | config S3C_DMA | 135 | config S3C_DMA |
diff --git a/arch/arm/plat-s3c/Makefile b/arch/arm/plat-s3c/Makefile index d86299556552..ea4a001f6793 100644 --- a/arch/arm/plat-s3c/Makefile +++ b/arch/arm/plat-s3c/Makefile | |||
@@ -14,7 +14,6 @@ obj- := | |||
14 | obj-y += init.o | 14 | obj-y += init.o |
15 | obj-y += time.o | 15 | obj-y += time.o |
16 | obj-y += gpio.o | 16 | obj-y += gpio.o |
17 | obj-y += gpio-config.o | ||
18 | 17 | ||
19 | # DMA support | 18 | # DMA support |
20 | 19 | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 5a72a5235573..9e7daf29b86a 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -19,6 +19,41 @@ 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 | # options for gpio configuration support | ||
23 | |||
24 | config S3C_GPIO_CFG_S3C24XX | ||
25 | bool | ||
26 | help | ||
27 | Internal configuration to enable S3C24XX style GPIO configuration | ||
28 | functions. | ||
29 | |||
30 | config S3C_GPIO_CFG_S3C64XX | ||
31 | bool | ||
32 | help | ||
33 | Internal configuration to enable S3C64XX style GPIO configuration | ||
34 | functions. | ||
35 | |||
36 | config S5P_GPIO_CFG_S5PC1XX | ||
37 | bool | ||
38 | help | ||
39 | Internal configuration to enable S5PC1XX style GPIO configuration | ||
40 | functions. | ||
41 | |||
42 | config S3C_GPIO_PULL_UPDOWN | ||
43 | bool | ||
44 | help | ||
45 | Internal configuration to enable the correct GPIO pull helper | ||
46 | |||
47 | config S3C_GPIO_PULL_DOWN | ||
48 | bool | ||
49 | help | ||
50 | Internal configuration to enable the correct GPIO pull helper | ||
51 | |||
52 | config S3C_GPIO_PULL_UP | ||
53 | bool | ||
54 | help | ||
55 | Internal configuration to enable the correct GPIO pull helper | ||
56 | |||
22 | # device definitions to compile in | 57 | # device definitions to compile in |
23 | 58 | ||
24 | config S3C_DEV_HSMMC | 59 | config S3C_DEV_HSMMC |
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index 32f03e549d0a..2c0143713ea9 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -13,6 +13,7 @@ obj- := | |||
13 | 13 | ||
14 | obj-y += clock.o | 14 | obj-y += clock.o |
15 | obj-y += pwm-clock.o | 15 | obj-y += pwm-clock.o |
16 | obj-y += gpio-config.o | ||
16 | 17 | ||
17 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o | 18 | obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o |
18 | 19 | ||
diff --git a/arch/arm/plat-s3c/gpio-config.c b/arch/arm/plat-samsung/gpio-config.c index 456969b6fa0d..456969b6fa0d 100644 --- a/arch/arm/plat-s3c/gpio-config.c +++ b/arch/arm/plat-samsung/gpio-config.c | |||