Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972AbbFCGko (ORCPT ); Wed, 3 Jun 2015 02:40:44 -0400 Received: from mail-ob0-f170.google.com ([209.85.214.170]:36361 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbbFCGkg (ORCPT ); Wed, 3 Jun 2015 02:40:36 -0400 MIME-Version: 1.0 In-Reply-To: <1433285204-4307-3-git-send-email-robh@kernel.org> References: <1433285204-4307-1-git-send-email-robh@kernel.org> <1433285204-4307-3-git-send-email-robh@kernel.org> Date: Wed, 3 Jun 2015 08:40:35 +0200 X-Google-Sender-Auth: ne73R0Uinj40Jm_v3fOGD-tAQlc Message-ID: Subject: Re: [PATCH 2/3] of: make CONFIG_OF user selectable From: Geert Uytterhoeven To: Rob Herring Cc: "devicetree@vger.kernel.org" , Grant Likely , Ralf Baechle , "linux-kernel@vger.kernel.org" , Pantelis Antoniou Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1944 Lines: 59 Hi Rob, On Wed, Jun 3, 2015 at 12:46 AM, Rob Herring wrote: > With the addition of overlays, it is now plausible to use DT on any arch > and without an arch using it at boot time. It is also desirable to > expand the compile coverage of the DT code. Make CONFIG_OF user > selectable by converting the menu to menuconfig. Thanks! > Signed-off-by: Rob Herring > Cc: Geert Uytterhoeven > Cc: Pantelis Antoniou > Cc: Grant Likely Acked-by: Geert Uytterhoeven with one minor docu nit below. > --- > drivers/of/Kconfig | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig > index 07bb3c8..415b51d 100644 > --- a/drivers/of/Kconfig > +++ b/drivers/of/Kconfig > @@ -1,11 +1,10 @@ > config DTC > bool > > -config OF > - bool > +menuconfig OF > + bool "Device Tree and Open Firmware support" This needs a help text. In "[PATCH 1/3] of: Allow OF to be enabled if COMPILE_TEST to increase coverage", I had: + This option enables the device tree infrastructure. + If is automatically selected by platforms that need it, but can + be enabled manually to increase compile-coverage. Feel free to adapt... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/