summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:48 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commit3c0d5ea0a5735f4a0f928a84855515a47c781914 (patch)
tree8f9f766271a4f7d80d5be7c383fc8878cfb44951 /common/Kconfig
parentb550853b7daae54e13c473a0aabe08a0fa485d7a (diff)
downloadu-boot-3c0d5ea0a5735f4a0f928a84855515a47c781914.tar.gz
u-boot-3c0d5ea0a5735f4a0f928a84855515a47c781914.tar.bz2
u-boot-3c0d5ea0a5735f4a0f928a84855515a47c781914.zip
bloblist: Correct Kconfig dependencies
This feature is not available in SPL unless common/ and lib/ are built. Update the Kconfig to avoid build errors. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 8f8a9064d5..f55b4211bb 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -762,7 +762,7 @@ config BLOBLIST
config SPL_BLOBLIST
bool "Support for a bloblist in SPL"
- depends on BLOBLIST
+ depends on BLOBLIST && SPL_LIBGENERIC_SUPPORT && SPL_LIBCOMMON_SUPPORT
default y if SPL
help
This enables a bloblist in SPL. If this is the first part of U-Boot
@@ -771,7 +771,7 @@ config SPL_BLOBLIST
config TPL_BLOBLIST
bool "Support for a bloblist in TPL"
- depends on BLOBLIST
+ depends on BLOBLIST && TPL_LIBGENERIC_SUPPORT && TPL_LIBCOMMON_SUPPORT
default y if TPL
help
This enables a bloblist in TPL. The bloblist is set up in TPL and