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

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Oct 15 00:19:58 CEST 2014


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?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list