Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753174AbbFCIO1 (ORCPT ); Wed, 3 Jun 2015 04:14:27 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:32896 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752703AbbFCIOT (ORCPT ); Wed, 3 Jun 2015 04:14:19 -0400 Subject: Re: [PATCH 2/3] of: make CONFIG_OF user selectable Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii From: Pantelis Antoniou In-Reply-To: <1433285204-4307-3-git-send-email-robh@kernel.org> Date: Wed, 3 Jun 2015 11:14:14 +0300 Cc: devicetree@vger.kernel.org, Grant Likely , Ralf Baechle , linux-kernel@vger.kernel.org, Geert Uytterhoeven Content-Transfer-Encoding: 7bit Message-Id: <85E4D22F-9BE5-402F-B22D-2D13CB0732AF@konsulko.com> References: <1433285204-4307-1-git-send-email-robh@kernel.org> <1433285204-4307-3-git-send-email-robh@kernel.org> To: Rob Herring X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 53 Hi Rob, > On Jun 3, 2015, at 01:46 , 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. > > Signed-off-by: Rob Herring > Cc: Geert Uytterhoeven > Cc: Pantelis Antoniou > Cc: Grant Likely > --- > 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" > > -menu "Device Tree and Open Firmware support" > - depends on OF > +if OF > > config OF_UNITTEST > bool "Device Tree runtime unit tests" > @@ -97,4 +96,4 @@ config OF_OVERLAY > While this option is selected automatically when needed, you can > enable it manually to improve device tree unit test coverage. > > -endmenu # OF > +endif # OF > -- > 2.1.0 > Acked-by: Pantelis Antoniou -- 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/