Skip to contentSkip to conversation

ARM: at91: select DT support by default

PATCH Superseded ludovic.desroches at atmel.com 2 participants 4 messages Aug 20, 2012 – Aug 22, 2012

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

PATCH v2 1/1 ARM: at91: select DT support by default

From: Ludovic Desroches <[email protected]>

Since at91sam9x5, at91sam9n12 and future SOCs only have device tree support, select it by default.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-at91/Kconfig +1 -0
index c8050b1..5aee940 100644
@@ -502,6 +502,7 @@ comment "Generic Board Type"
 
 config MACH_AT91SAM_DT
 	bool "Atmel AT91SAM Evaluation Kits with device-tree support"
+	default y
 	select USE_OF
 	help
 	  Select this if you want to experiment device-tree with
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH v2 1/1 ARM: at91: select DT support by default

Quoted 17 lines · ludovic.desroches at atmel.com

From: Ludovic Desroches <[email protected]>

Since at91sam9x5, at91sam9n12 and future SOCs only have device tree support, select it by default.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-at91/Kconfig +0 -0
index c8050b1..5aee940 100644

arch/arm/mach-at91/Kconfig comment "Generic Board Type" · line 506

Quoted 5 lines
arch/arm/mach-at91/Kconfig +1 -0
@@ -502,6 +502,7 @@ comment "Generic Board Type"
 
 config MACH_AT91SAM_DT
 	bool "Atmel AT91SAM Evaluation Kits with device-tree support"
+	default y
 	select USE_OF

no you can not force the USE_OF

force the machine by default if USE_OF ok otherwise no to this you need to select the USE_OF as SoC level

Best Regards,
J.

#2 lore raw

PATCH v2 1/1 ARM: at91: select DT support by default

Le 08/20/2012 06:26 PM, Jean-Christophe PLAGNIOL-VILLARD a ?crit :

Quoted 19 lines · ludovic.desroches at atmel.com
Quoted 18 lines

From: Ludovic Desroches <[email protected]>

Since at91sam9x5, at91sam9n12 and future SOCs only have device tree support, select it by default.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
  arch/arm/mach-at91/Kconfig | 1 +
  1 file changed, 1 insertion(+)
arch/arm/mach-at91/Kconfig +0 -0
index c8050b1..5aee940 100644
@@ -502,6 +502,7 @@ comment "Generic Board Type"
 
Quoted 8 lines

arch/arm/mach-at91/Kconfig comment "Generic Board Type" · line 506

Quoted 4 lines
arch/arm/mach-at91/Kconfig +1 -0
  config MACH_AT91SAM_DT
  	bool "Atmel AT91SAM Evaluation Kits with device-tree support"
+	default y
  	select USE_OF

no you can not force the USE_OF

force the machine by default if USE_OF ok otherwise no to this you need to select the USE_OF as SoC level

Sorry, it seems I have badly understood your first answer and I don't understand the second one too.

So what did you mean by "as we are goig to have more and more soc put it as default in the MACH_AT91SAM_DT if the DT is enabled"?

Quoted 5 lines

Best Regards,
J.

Regards

Ludovic

#3 lore raw

PATCH v2 1/1 ARM: at91: select DT support by default

Quoted 26 lines · ludovic.desroches

Le 08/20/2012 06:26 PM, Jean-Christophe PLAGNIOL-VILLARD a ?crit :

Quoted 25 lines · ludovic.desroches at atmel.com
Quoted 17 lines

From: Ludovic Desroches <[email protected]>

Since at91sam9x5, at91sam9n12 and future SOCs only have device tree support, select it by default.

Cc Nicolas Ferre <[email protected]>
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-at91/Kconfig +0 -0
index c8050b1..5aee940 100644

arch/arm/mach-at91/Kconfig comment "Generic Board Type" · line 506

Quoted 5 lines
arch/arm/mach-at91/Kconfig +1 -0
@@ -502,6 +502,7 @@ comment "Generic Board Type"
 
 config MACH_AT91SAM_DT
 	bool "Atmel AT91SAM Evaluation Kits with device-tree support"
+	default y
 	select USE_OF

no you can not force the USE_OF

Quoted 8 lines
Quoted 2 lines

force the machine by default if USE_OF ok otherwise no to this you need to select the USE_OF as SoC level

Sorry, it seems I have badly understood your first answer and I don't understand the second one too.

So what did you mean by "as we are goig to have more and more soc put it as default in the MACH_AT91SAM_DT if the DT is enabled"?

enable the MACH_AT91SAM_DT by default it the right way if USE_OF which means for sam9x5 and n12 only

for the other soc that can have both OF and non of kernel
you need select the USE_OF only if the MACH_AT91SAM_DT is enable by the end user (not by default)

Best Regards,
J.