Kconfig: add CONFIG_BROKEN
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Oct 2017 21:49:19 +0000 (23:49 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 Oct 2017 21:28:18 +0000 (17:28 -0400)
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.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig

diff --git a/Kconfig b/Kconfig
index 227fb17..e57fad4 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -14,6 +14,12 @@ source "arch/Kconfig"
 
 menu "General setup"
 
+config BROKEN
+       bool
+       help
+         This option cannot be enabled. It is used as dependency
+         for broken and incomplete features.
+
 config LOCALVERSION
        string "Local version - append to U-Boot release"
        help