ARM: socfpga: Increase max number of GPIOs
authorMarek Vasut <marex@denx.de>
Tue, 9 May 2017 13:20:03 +0000 (08:20 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 21 Jun 2017 15:16:02 +0000 (10:16 -0500)
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 <marex@denx.de>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/Kconfig

index 4c1a35f1583872d2ce39db5c1cacce28be48ccb1..108c203a8b291ca097792ef8aed34bc278af8142 100644 (file)
@@ -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 || \