aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-06-03 10:14:01 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-06-30 15:37:13 -0400
commitab275b132a79c7b08f10fa22fc3f204eb8e26d33 (patch)
tree251b82045f9cf0331f24ff39b9547c1cede39b23 /arch/arm/plat-samsung
parent4c834452aad01531db949414f94f817a86348d59 (diff)
ARM: s5p: cut the custom ARCH_NR_GPIOS definition
The number of GPIOs defined for the different S5P platforms using the tricky #define macros are actually as follows: S5P64x0: 180 GPIOs S5PC100: 115 GPIOs S5PV210: 252 GPIOs The include file <asm-generic/gpio.h> will automatically bump us to 256 GPIOs which is a nice default value that happens to encompass all the S5P platform requirements under its roof. Cut ARCH_NR_GPIOS and the custom spacing macro for extra GPIOs that is not used anywhere in the kernel. Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/Kconfig16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index 301b892d97d9..1e1811274e74 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -108,22 +108,6 @@ config S5P_GPIO_DRVSTR
108 Internal configuration to get and set correct GPIO driver strength 108 Internal configuration to get and set correct GPIO driver strength
109 helper 109 helper
110 110
111config SAMSUNG_GPIO_EXTRA
112 int "Number of additional GPIO pins"
113 default 128 if SAMSUNG_GPIO_EXTRA128
114 default 64 if SAMSUNG_GPIO_EXTRA64
115 default 0
116 help
117 Use additional GPIO space in addition to the GPIO's the SOC
118 provides. This allows expanding the GPIO space for use with
119 GPIO expanders.
120
121config SAMSUNG_GPIO_EXTRA64
122 bool
123
124config SAMSUNG_GPIO_EXTRA128
125 bool
126
127config S3C_GPIO_SPACE 111config S3C_GPIO_SPACE
128 int "Space between gpio banks" 112 int "Space between gpio banks"
129 default 0 113 default 0