summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-20 17:45:56 +0900
committerTom Rini <trini@ti.com>2014-10-27 17:54:10 -0400
commit02627356b6ec5512f68d2eabaac6ff325111542e (patch)
tree9d4621e3a05f3f7066bbe70fb587f9cc0219c8d8 /Kconfig
parentd641819cf8e263723d1f630a6ba5ed38863a0688 (diff)
downloadu-boot-imx-02627356b6ec5512f68d2eabaac6ff325111542e.zip
u-boot-imx-02627356b6ec5512f68d2eabaac6ff325111542e.tar.gz
u-boot-imx-02627356b6ec5512f68d2eabaac6ff325111542e.tar.bz2
kconfig: add CONFIG_SUPPORT_SPL
CONFIG_SPL should not be enabled for boards that do not have SPL. CONFIG_SUPPORT_SPL introduced by this commit should be "select"ed by boards with SPL support and CONFIG_SPL should depend on it. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index e0c8992..29e0b92 100644
--- a/Kconfig
+++ b/Kconfig
@@ -70,8 +70,12 @@ config TPL_BUILD
depends on $KCONFIG_OBJDIR="tpl"
default y
+config SUPPORT_SPL
+ bool
+
config SPL
bool
+ depends on SUPPORT_SPL
prompt "Enable SPL" if !SPL_BUILD
default y if SPL_BUILD
help