Subject: [PATCH v2] ARM: at91: select DT support by default

From: [email-masked] (Jean-Christophe PLAGNIOL-VILLARD)
Date: Wed, 22 Aug 2012 14:24:19 +0200

On 18:40 Mon 20 Aug     , ludovic.desroches wrote:
> Le 08/20/2012 06:26 PM, Jean-Christophe PLAGNIOL-VILLARD a ?crit :
> >On 17:40 Mon 20 Aug     , ludovic.desroches at atmel.com wrote:
> >>From: Ludovic Desroches <[email-masked]>
> >>
> >>Since at91sam9x5, at91sam9n12 and future SOCs only have device tree
> >>support, select it by default.
> >>
> >>Signed-off-by: Ludovic Desroches <[email-masked]>
> >>Cc: Nicolas Ferre <[email-masked]>
> >>Cc: Jean-Christophe PLAGNIOL-VILLARD <[email-masked]>
> >>---
> >>  arch/arm/mach-at91/Kconfig | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >>diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> >>index c8050b1..5aee940 100644
> >>--- a/arch/arm/mach-at91/Kconfig
> >>+++ b/arch/arm/mach-at91/Kconfig
> >>@@ -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
> 
> 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.