linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: Kconfig: NR_GPIO AM43x default
@ 2013-08-02 13:54 Afzal Mohammed
  2013-08-21  7:25 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Afzal Mohammed @ 2013-08-02 13:54 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
 arch/arm/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 37c0f4e..c5356c5 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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.
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: Kconfig: NR_GPIO AM43x default
  2013-08-02 13:54 [PATCH] ARM: Kconfig: NR_GPIO AM43x default Afzal Mohammed
@ 2013-08-21  7:25 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2013-08-21  7:25 UTC (permalink / raw)
  To: linux-arm-kernel

* Afzal Mohammed <afzal@ti.com> [130802 07:01]:
> 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
 
> Signed-off-by: Afzal Mohammed <afzal@ti.com>
> ---
>  arch/arm/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 37c0f4e..c5356c5 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -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.
> -- 
> 1.7.9.5
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-21  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 13:54 [PATCH] ARM: Kconfig: NR_GPIO AM43x default Afzal Mohammed
2013-08-21  7:25 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).