From: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
To: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org,
Grant Likely <grant.likely@linaro.org>,
Ralf Baechle <ralf@linux-mips.org>,
linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: [PATCH 2/3] of: make CONFIG_OF user selectable
Date: Wed, 3 Jun 2015 11:14:14 +0300 [thread overview]
Message-ID: <85E4D22F-9BE5-402F-B22D-2D13CB0732AF@konsulko.com> (raw)
In-Reply-To: <1433285204-4307-3-git-send-email-robh@kernel.org>
Hi Rob,
> On Jun 3, 2015, at 01:46 , Rob Herring <robh@kernel.org> 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 <robh@kernel.org>
> Cc: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
> Cc: Grant Likely <grant.likely@linaro.org>
> ---
> 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 <pantelis.antoniou@konsulko.com>
next prev parent reply other threads:[~2015-06-03 8:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 22:46 [PATCH 0/3] Make " Rob Herring
2015-06-02 22:46 ` [PATCH 1/3] MIPS: prepare for user enabling of CONFIG_OF Rob Herring
2015-06-03 8:24 ` Ralf Baechle
2015-06-04 8:01 ` Grant Likely
2015-06-02 22:46 ` [PATCH 2/3] of: make CONFIG_OF user selectable Rob Herring
2015-06-03 6:40 ` Geert Uytterhoeven
2015-06-03 8:14 ` Pantelis Antoniou [this message]
2015-06-02 22:46 ` [PATCH 3/3] of: make unittest select OF_EARLY_FLATTREE instead of depend on it Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85E4D22F-9BE5-402F-B22D-2D13CB0732AF@konsulko.com \
--to=pantelis.antoniou@konsulko.com \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=grant.likely@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ralf@linux-mips.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®