[PATCH] ARM: at91: automatically select DT support for sam9x5 and sam9n12

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Aug 20 11:03:35 EDT 2012


On 16:44 Mon 20 Aug     , ludovic.desroches at atmel.com wrote:
> From: Ludovic Desroches <ludovic.desroches at atmel.com>
> 
> at91sam9x5 and at91sam9n12 only have device tree support so we can
> select device tree support when selecting these chips.
> 
> 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 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> index c8050b1..db94ec6 100644
> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
> @@ -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
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.



More information about the linux-arm-kernel mailing list