From: Marek Vasut Date: Tue, 9 May 2017 13:20:03 +0000 (-0500) Subject: ARM: socfpga: Increase max number of GPIOs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=139358be24e526bc8d050e319cdd4e2d1941503e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 4c1a35f15838..108c203a8b29 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 || \