summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-09-25 17:11:17 +0300
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 08:51:03 +0300
commita7da3d984db524cdec8336927a5825ffaa8443af (patch)
treed3948ff78152ac7f088e6342e78f426db73f17c2 /common
parent9bb746d819b32cdb6994ad5c09c59170e866ef3e (diff)
downloadu-boot-a7da3d984db524cdec8336927a5825ffaa8443af.tar.xz
spl: handoff: Correct Kconfig condition for SPL and TPL
At present these options can be enabled when bloblist is not enabled for SPL or TPL. This is incorrect as SPL handoff requires bloblist. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index f467eca2be..62b93c112b 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -115,7 +115,7 @@ if SPL
config SPL_HANDOFF
bool "Pass hand-off information from SPL to U-Boot proper"
- depends on HANDOFF
+ depends on HANDOFF && SPL_BLOBLIST
default y
help
This option enables SPL to write handoff information. This can be
@@ -1185,7 +1185,7 @@ if TPL
config TPL_HANDOFF
bool "Pass hand-off information from TPL to SPL and U-Boot proper"
- depends on HANDOFF
+ depends on HANDOFF && TPL_BLOBLIST
default y
help
This option enables TPL to write handoff information. This can be