linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: at91: select DT support by default
@ 2012-08-20 15:40 ludovic.desroches at atmel.com
  2012-08-20 16:26 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: ludovic.desroches at atmel.com @ 2012-08-20 15:40 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2] ARM: at91: select DT support by default
  2012-08-20 15:40 [PATCH v2] ARM: at91: select DT support by default ludovic.desroches at atmel.com
@ 2012-08-20 16:26 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-08-20 16:40   ` ludovic.desroches
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-08-20 16:26 UTC (permalink / raw)
  To: linux-arm-kernel

On 17:40 Mon 20 Aug     , ludovic.desroches at 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] ARM: at91: select DT support by default
  2012-08-20 16:26 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-08-20 16:40   ` ludovic.desroches
  2012-08-22 12:24     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 4+ messages in thread
From: ludovic.desroches @ 2012-08-20 16:40 UTC (permalink / raw)
  To: linux-arm-kernel

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@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] ARM: at91: select DT support by default
  2012-08-20 16:40   ` ludovic.desroches
@ 2012-08-22 12:24     ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-08-22 12:24 UTC (permalink / raw)
  To: linux-arm-kernel

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@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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-22 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 15:40 [PATCH v2] ARM: at91: select DT support by default ludovic.desroches at atmel.com
2012-08-20 16:26 ` Jean-Christophe PLAGNIOL-VILLARD
2012-08-20 16:40   ` ludovic.desroches
2012-08-22 12:24     ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).