diff mbox

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

Message ID 1345477226-23483-1-git-send-email-ludovic.desroches@atmel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ludovic Desroches Aug. 20, 2012, 3:40 p.m. UTC
From: Ludovic Desroches <ludovic.desroches@atmel.com>

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

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-at91/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jean-Christophe PLAGNIOL-VILLARD Aug. 20, 2012, 4:26 p.m. UTC | #1
On 17:40 Mon 20 Aug     , ludovic.desroches@atmel.com wrote:
> From: Ludovic Desroches <ludovic.desroches@atmel.com>
> 
> Since at91sam9x5, at91sam9n12 and future SOCs only have device tree
> support, select it by default.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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

Best Regards,
J.
Ludovic Desroches Aug. 20, 2012, 4:40 p.m. UTC | #2
Le 08/20/2012 06:26 PM, Jean-Christophe PLAGNIOL-VILLARD a écrit :
> On 17:40 Mon 20 Aug     , ludovic.desroches@atmel.com wrote:
>> From: Ludovic Desroches <ludovic.desroches@atmel.com>
>>
>> Since at91sam9x5, at91sam9n12 and future SOCs only have device tree
>> support, select it by default.
>>
>> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
>> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
>> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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"?

>
> Best Regards,
> J.
>
>

Regards

Ludovic
Jean-Christophe PLAGNIOL-VILLARD Aug. 22, 2012, 12:24 p.m. UTC | #3
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@atmel.com wrote:
> >>From: Ludovic Desroches <ludovic.desroches@atmel.com>
> >>
> >>Since at91sam9x5, at91sam9n12 and future SOCs only have device tree
> >>support, select it by default.
> >>
> >>Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
> >>Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> >>Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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.
diff mbox

Patch

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
 	help
 	  Select this if you want to experiment device-tree with