aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Ren <[email protected]>2019-10-30 18:40:40 -0700
committerOlof Johansson <[email protected]>2019-11-03 17:00:07 -0800
commita3ee4fea24e86e121bdab39a393f7d8180793d00 (patch)
tree43547ad445ba5d8e211af534252dd19def181b93
parenta9f4b135d1c6837e420de75a38663e1118e74d3b (diff)
ARM: ASPEED: update default ARCH_NR_GPIO for ARCH_ASPEED
Increase the max number of GPIOs from default 512 to 1024 for ASPEED platforms, because Facebook Yamp (AST2500) BMC platform has total 594 GPIO pins (232 provided by ASPEED SoC, and 362 by I/O Expanders). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tao Ren <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
-rw-r--r--arch/arm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 8a50efb559f3..074bc2113d36 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1359,7 +1359,7 @@ config ARCH_NR_GPIO
int
default 2048 if ARCH_SOCFPGA
default 1024 if ARCH_BRCMSTB || ARCH_RENESAS || ARCH_TEGRA || \
- ARCH_ZYNQ
+ 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