From mboxrd@z Thu Jan 1 00:00:00 1970 From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD) Date: Wed, 22 Aug 2012 14:24:19 +0200 Subject: [PATCH v2] ARM: at91: select DT support by default In-Reply-To: <50326887.5050400@atmel.com> References: <1345477226-23483-1-git-send-email-ludovic.desroches@atmel.com> <20120820162651.GB7456@game.jcrosoft.org> <50326887.5050400@atmel.com> Message-ID: <20120822122419.GC7456@game.jcrosoft.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > >> > >>Since at91sam9x5, at91sam9n12 and future SOCs only have device tree > >>support, select it by default. > >> > >>Signed-off-by: Ludovic Desroches > >>Cc: Nicolas Ferre > >>Cc: Jean-Christophe PLAGNIOL-VILLARD > >>--- > >> 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.