Skip to contentSkip to conversation

ARM: at91: automatically select DT support for sam9x5 and sam9n12

PATCH New ludovic.desroches at atmel.com 2 participants 2 messages Aug 20, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: at91: automatically select DT support for sam9x5 and sam9n12

From: Ludovic Desroches <[email protected]>

at91sam9x5 and at91sam9n12 only have device tree support so we can select device tree support when selecting these chips.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-at91/Kconfig +2 -0
index c8050b1..db94ec6 100644
@@ -88,6 +88,7 @@ config SOC_AT91SAM9X5
 	select HAVE_AT91_DBGU0
 	select HAVE_FB_ATMEL
 	select HAVE_NET_MACB
+	select MACH_AT91SAM_DT
 	help
 	  Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
 	  This means that your SAM9 name finishes with a '5' (except if it is
@@ -100,6 +101,7 @@ config SOC_AT91SAM9N12
 	select SOC_AT91SAM9
 	select HAVE_AT91_DBGU0
 	select HAVE_FB_ATMEL
+	select MACH_AT91SAM_DT
 	help
 	  Select this if you are using Atmel's AT91SAM9N12 SoC.
 
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH 1/1 ARM: at91: automatically select DT support for sam9x5 and sam9n12

Quoted 25 lines · ludovic.desroches at atmel.com

From: Ludovic Desroches <[email protected]>

at91sam9x5 and at91sam9n12 only have device tree support so we can select device tree support when selecting these chips.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-at91/Kconfig +1 -0
index c8050b1..db94ec6 100644
@@ -88,6 +88,7 @@ config SOC_AT91SAM9X5
 	select HAVE_AT91_DBGU0
 	select HAVE_FB_ATMEL
 	select HAVE_NET_MACB
+	select MACH_AT91SAM_DT
 	help
 	  Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
 	  This means that your SAM9 name finishes with a '5' (except if it is

arch/arm/mach-at91/Kconfig config SOC_AT91SAM9N12 · line 104

Quoted 4 lines
arch/arm/mach-at91/Kconfig +1 -0
@@ -100,6 +101,7 @@ config SOC_AT91SAM9N12
 	select SOC_AT91SAM9
 	select HAVE_AT91_DBGU0
 	select HAVE_FB_ATMEL
+	select MACH_AT91SAM_DT

as we are goig to have more and more soc put it as default in the MACH_AT91SAM_DT if the DT is enabled

Best Regards,
J.