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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 22 08:24:19 EDT 2012


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 <ludovic.desroches at atmel.com>
> >>
> >>Since at91sam9x5, at91sam9n12 and future SOCs only have device tree
> >>support, select it by default.
> >>
> >>Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
> >>Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
> >>Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> >>---
> >>  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.



More information about the linux-arm-kernel mailing list