Skip to contentSkip to conversation

ARM: Kconfig: NR_GPIO AM43x default

PATCH New Afzal Mohammed 2 participants 2 messages Aug 2, 2013 – Aug 21, 2013 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Kconfig: NR_GPIO AM43x default

On an AM43x only config, currently default ARCH_NR_GPIO would be zero. Default it to that supported by the SoC.

---
 arch/arm/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index 37c0f4e..c5356c5 100644
@@ -1605,6 +1605,7 @@ config ARCH_NR_GPIO
 	default 352 if ARCH_VT8500
 	default 288 if ARCH_SUNXI
 	default 264 if MACH_H4700
+	default 192 if SOC_AM43XX
 	default 0
 	help
 	  Maximum number of GPIOs in the system.
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: Kconfig: NR_GPIO AM43x default

Quoted 2 lines · Afzal Mohammed

On an AM43x only config, currently default ARCH_NR_GPIO would be zero. Default it to that supported by the SoC.

Looks like this can wait a bit until the am43x patches have been reviewed and queued. When that's done, I suggest that Afzal puts this patch into Russell's patch tracking system.

Regards,

Tony

Quoted 20 lines
---
 arch/arm/Kconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/Kconfig +1 -0
index 37c0f4e..c5356c5 100644
@@ -1605,6 +1605,7 @@ config ARCH_NR_GPIO
 	default 352 if ARCH_VT8500
 	default 288 if ARCH_SUNXI
 	default 264 if MACH_H4700
+	default 192 if SOC_AM43XX
 	default 0
 	help
 	  Maximum number of GPIOs in the system.
Signature · 1 line
1.7.9.5