summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-08-13 14:32:30 -0500
committerTom Rini <trini@konsulko.com>2019-08-23 13:59:06 -0400
commit057055660fd52cc52c6dfe2ac67dc6ae3040c71f (patch)
tree6684ad8af1989d593314e20a8f3b905b8bf9d8a7 /Kconfig
parent5484793363f3a03c542b7db12f40bf6d1da48203 (diff)
downloadu-boot-057055660fd52cc52c6dfe2ac67dc6ae3040c71f.tar.gz
u-boot-057055660fd52cc52c6dfe2ac67dc6ae3040c71f.tar.bz2
u-boot-057055660fd52cc52c6dfe2ac67dc6ae3040c71f.zip
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 'Kconfig')
-rw-r--r--Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/Kconfig b/Kconfig
index d2eb744e70..643bb8cc01 100644
--- a/Kconfig
+++ b/Kconfig
@@ -163,7 +163,7 @@ config SYS_MALLOC_LEN
config SPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in SPL before relocation"
- depends on SYS_MALLOC_F
+ depends on SYS_MALLOC_F && SPL
default 0x2800 if RCAR_GEN3
default SYS_MALLOC_F_LEN
help
@@ -174,7 +174,7 @@ config SPL_SYS_MALLOC_F_LEN
config TPL_SYS_MALLOC_F_LEN
hex "Size of malloc() pool in TPL before relocation"
- depends on SYS_MALLOC_F
+ depends on SYS_MALLOC_F && TPL
default SYS_MALLOC_F_LEN
help
Before relocation, memory is very limited on many platforms. Still,
@@ -238,6 +238,7 @@ config SPL_IMAGE
string "SPL image used in the combined SPL+U-Boot image"
default "spl/boot.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
default "spl/u-boot-spl.bin"
+ depends on SPL
help
Select the SPL build target that shall be generated by the SPL
build process (default spl/u-boot-spl.bin). This image will be