LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Grant Likely <grant.likely@linaro.org>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
	Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST
Date: Fri, 20 Mar 2015 12:25:02 +0000	[thread overview]
Message-ID: <20150320122502.EB491C40724@trevor.secretlab.ca> (raw)
In-Reply-To: <1422029405-9353-2-git-send-email-geert+renesas@glider.be>

On Fri, 23 Jan 2015 17:10:04 +0100
, Geert Uytterhoeven <geert+renesas@glider.be>
 wrote:
> Currently OF_DYNAMIC and OF_OVERLAY are not visible to the user, and are
> selected automatically only when needed.
> 
> Allow them to be enabled manually to improve device tree unit test
> coverage.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

I like the change. Merged, thanks.

g.

> ---
>  drivers/of/Kconfig | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index 38d1c51f58b108db..e9301686493933cc 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -34,7 +34,11 @@ config OF_PROMTREE
>  # Hardly any platforms need this.  It is safe to select, but only do so if you
>  # need it.
>  config OF_DYNAMIC
> -	bool
> +	bool "Support for dynamic device trees" if OF_UNITTEST
> +	help
> +	  On some platforms, the device tree can be manipulated at runtime.
> +	  While this option is selected automatically on such platforms, you
> +	  can enable it manually to improve device tree unit test coverage.
>  
>  config OF_ADDRESS
>  	def_bool y
> @@ -84,9 +88,14 @@ config OF_RESOLVE
>  	bool
>  
>  config OF_OVERLAY
> -	bool
> +	bool "Support for device tree overlays" if OF_UNITTEST
>  	depends on OF
>  	select OF_DYNAMIC
>  	select OF_RESOLVE
> +	help
> +	  Overlays are a method to dynamically modify part of the kernel's
> +	  device tree with dynamically loaded data.
> +	  While this option is selected automatically when needed, you can
> +	  enable it manually to improve device tree unit test coverage.
>  
>  endmenu # OF
> -- 
> 1.9.1
> 


  reply	other threads:[~2015-03-20 12:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 16:10 [PATCH RFC 0/2] of/unittest: Add reference count tests Geert Uytterhoeven
2015-01-23 16:10 ` [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST Geert Uytterhoeven
2015-03-20 12:25   ` Grant Likely [this message]
2015-03-20 13:32     ` Rob Herring
2015-03-24 22:54       ` Grant Likely
2015-03-25 14:14         ` Geert Uytterhoeven
2015-01-23 16:10 ` [PATCH RFC 2/2] of/unittest: Add reference count tests Geert Uytterhoeven
2015-02-04 16:14 ` [PATCH RFC 0/2] " Rob Herring
2015-02-04 17:08   ` Geert Uytterhoeven

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=20150320122502.EB491C40724@trevor.secretlab.ca \
    --to=grant.likely@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH 1/2] of: Allow selection of OF_DYNAMIC and OF_OVERLAY if OF_UNITTEST' \
    /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

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