From: Albert ARIBAUD Date: Wed, 15 Oct 2014 00:19:58 +0200 Subject: [U-Boot] [PATCH] Kconfig: Add EXPERT option In-Reply-To: <1413290360-16956-1-git-send-email-trini@ti.com> References: <1413290360-16956-1-git-send-email-trini@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Amicalement, -- Albert.