diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-03 03:15:38 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-11-08 05:56:02 -0500 |
commit | 4ff13995b512cfadef44e0bf5cb15298d6094519 (patch) | |
tree | fdd15886334e3bd7db74d9047b926260d9570292 /arch/arm/plat-samsung | |
parent | b462c20e2915e6eca2fb812b4f63c94e7e042b9a (diff) |
ARM: SAMSUNG: Fix GPIO space reservation for S3C64xx platforms
The conversion to use SAMSUNG_GPIO_EXTRA rather than S3C24XX_GPIO_EXTRA
broke a number of S3C64xx boards which had been using the symbols provided
to reserve a range of GPIOs for board specific use. Fix this by adding
equivalent symbols for the new shared driver and updating the relevant
boards to use the new symbols.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 313eb26cfa62..bb0af66bb487 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -88,12 +88,20 @@ config S5P_GPIO_DRVSTR | |||
88 | 88 | ||
89 | config SAMSUNG_GPIO_EXTRA | 89 | config SAMSUNG_GPIO_EXTRA |
90 | int "Number of additional GPIO pins" | 90 | int "Number of additional GPIO pins" |
91 | default 128 if SAMSUNG_GPIO_EXTRA128 | ||
92 | default 64 if SAMSUNG_GPIO_EXTRA64 | ||
91 | default 0 | 93 | default 0 |
92 | help | 94 | help |
93 | Use additional GPIO space in addition to the GPIO's the SOC | 95 | Use additional GPIO space in addition to the GPIO's the SOC |
94 | provides. This allows expanding the GPIO space for use with | 96 | provides. This allows expanding the GPIO space for use with |
95 | GPIO expanders. | 97 | GPIO expanders. |
96 | 98 | ||
99 | config SAMSUNG_GPIO_EXTRA64 | ||
100 | bool | ||
101 | |||
102 | config SAMSUNG_GPIO_EXTRA128 | ||
103 | bool | ||
104 | |||
97 | config S3C_GPIO_SPACE | 105 | config S3C_GPIO_SPACE |
98 | int "Space between gpio banks" | 106 | int "Space between gpio banks" |
99 | default 0 | 107 | default 0 |