From: Marek Vasut Date: Tue, 9 May 2017 13:20:03 +0000 (-0500) Subject: ARM: socfpga: Increase max number of GPIOs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=139358be24e526bc8d050e319cdd4e2d1941503e;p=linux.git ARM: socfpga: Increase max number of GPIOs Increase the maximum number of GPIOs on SoCFPGA as this platform can have many GPIO controllers in the FPGA part. Signed-off-by: Marek Vasut Signed-off-by: Dinh Nguyen --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4c1a35f158387..108c203a8b291 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1460,6 +1460,7 @@ config ARM_PSCI # selected platforms. config ARCH_NR_GPIO int + default 2048 if ARCH_SOCFPGA default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \ ARCH_ZYNQ default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \