From: Tom Rini Date: Wed, 15 Oct 2014 02:08:47 -0400 Subject: [U-Boot] [PATCH] Kconfig: Add EXPERT option In-Reply-To: References: <1413290360-16956-1-git-send-email-trini@ti.com> Message-ID: <20141015060847.GK25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 15, 2014 at 12:19:58AM +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Tue, 14 Oct 2014 08:39:20 -0400, Tom Rini wrote: > > > For similar reasons to why the Linux Kernel has an EXPERT option, we too > > want an option to allow for tweaking of some options that while normally > > should remain hidden, may need to be changed in some cases. > > > > Signed-off-by: Tom Rini > > --- > > Kconfig | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Kconfig b/Kconfig > > index e0c8992..73785b00 100644 > > --- a/Kconfig > > +++ b/Kconfig > > @@ -58,6 +58,14 @@ config CC_OPTIMIZE_FOR_SIZE > > > > endmenu # General setup > > > > +menuconfig EXPERT > > + bool "Configure standard U-Boot features (expert users)" > > + help > > + This option allows certain base U-Boot options and settings > > + to be disabled or tweaked. This is for specialized > > + environments which can tolerate a "non-standard" U-Boot. > > + Only use this if you really know what you are doing. > > + > > menu "Boot images" > > > > config SPL_BUILD > > Half-OT: we have a policy of not adding dead code in U-Boot. Here, this > Kconfig change introduces CONFIG_EXPERT, but nowhere in the code is it > used. Should we consider this dead code as well (and thus, expect/accept > it only in a patch series where the EXPERT config is used somewhere else > in the code) or not? I told Michal Simek to wait until I posted this to follow up and post a patch adding something else which will make use of this. And depending on time, I may get there first and make use of this for other conersions as well. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: