arm: Remove CONFIG_ARCH_NR_GPIO
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 2 Sep 2022 12:42:08 +0000 (14:42 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Oct 2022 09:34:05 +0000 (11:34 +0200)
CONFIG_ARCH_NR_GPIO is not used anymore, remove it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
arch/arm/Kconfig

index a08c9d092a332d8e6e3c63cd824f31ef061ac32a..b03fd451122ee58075a6d63686664707e703a92f 100644 (file)
@@ -1155,27 +1155,6 @@ config ARM_PSCI
          0022A ("Power State Coordination Interface System Software on
          ARM processors").
 
-# The GPIO number here must be sorted by descending number. In case of
-# a multiplatform kernel, we just want the highest value required by the
-# selected platforms.
-config ARCH_NR_GPIO
-       int
-       default 2048 if ARCH_INTEL_SOCFPGA
-       default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
-               ARCH_ZYNQ || ARCH_ASPEED
-       default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
-               SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
-       default 416 if ARCH_SUNXI
-       default 392 if ARCH_U8500
-       default 352 if ARCH_VT8500
-       default 288 if ARCH_ROCKCHIP
-       default 264 if MACH_H4700
-       default 0
-       help
-         Maximum number of GPIOs in the system.
-
-         If unsure, leave the default value.
-
 config HZ_FIXED
        int
        default 128 if SOC_AT91RM9200