UPSTREAM: Kconfig: add CONFIG_BROKEN

Provide a Kconfig option that we can use as dependency for
features that are broken. This allows to easily disable them
without removing the code.

As no short text is supplied the option will not appear in
menuconfig.

Change-Id: I03bf2f8f543cda490b63e081c2dbe1f1deee3d17
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 4c7a211046a3956058b512edd8533f7df031cc4a)
This commit is contained in:
Heinrich Schuchardt 2017-10-19 23:49:19 +02:00 committed by Kever Yang
parent 32619fbebc
commit f0573858c4
1 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,12 @@ source "arch/Kconfig"
menu "General setup" menu "General setup"
config BROKEN
bool
help
This option cannot be enabled. It is used as dependency
for broken and incomplete features.
config LOCALVERSION config LOCALVERSION
string "Local version - append to U-Boot release" string "Local version - append to U-Boot release"
help help