summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-08-13 22:32:30 +0300
committerTom Rini <trini@konsulko.com>2019-08-23 20:59:06 +0300
commit057055660fd52cc52c6dfe2ac67dc6ae3040c71f (patch)
tree6684ad8af1989d593314e20a8f3b905b8bf9d8a7 /common
parent5484793363f3a03c542b7db12f40bf6d1da48203 (diff)
downloadu-boot-057055660fd52cc52c6dfe2ac67dc6ae3040c71f.tar.xz
Kconfigs: Various: Fix some SPL, TPL and ARM64 dependencies
Several options are presenting themselves on a various boards where the options are clearly not used. (ie, arm64 options on arm9, or SPL/TPL options when SPL or TPL are not defined) This patch is not attempting to be a complete list of items, but more like low hanging fruit. This patch attempts to reduce some of the menuconfig noise by defining dependencies so they don't appear when not used. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 630491699c..660aa66d84 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -208,6 +208,7 @@ config SPL_SYS_MALLOC_SIMPLE
config TPL_SYS_MALLOC_SIMPLE
bool
prompt "Only use malloc_simple functions in the TPL"
+ depends on TPL
help
Say Y here to only use the *_simple malloc functions from
malloc_simple.c, rather then using the versions from dlmalloc.c;
@@ -261,6 +262,7 @@ config SPL_BANNER_PRINT
config TPL_BANNER_PRINT
bool "Enable output of the TPL banner 'U-Boot TPL ...'"
+ depends on TPL
default y
help
If this option is enabled, SPL will not print the banner with version