[U-Boot] [PATCH] Kconfig: Add EXPERT option

Tom Rini trini at ti.com
Wed Oct 15 08:08:47 CEST 2014


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 <trini at ti.com> 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 <trini at ti.com>
> > ---
> >  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: <http://lists.denx.de/pipermail/u-boot/attachments/20141015/59604d67/attachment.pgp>


More information about the U-Boot mailing list