summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-08 15:24:40 +0300
committerTom Rini <trini@konsulko.com>2022-06-29 00:03:31 +0300
commit13ce351b9a292a758415ef8eba3c349c28cf4697 (patch)
treee74c5573000a664edef03c57a7674d51b0538e9e /lib/Kconfig
parent8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd (diff)
downloadu-boot-13ce351b9a292a758415ef8eba3c349c28cf4697.tar.xz
vpl: Ensure all VPL symbols in Kconfig have some VPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a VPL specific option has at least a direct dependency on VPL. In places where it's clear that we depend on something more specific, use that dependency instead. Reported-by: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index ccbc52de89..c9f9ddce7d 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -783,6 +783,7 @@ config TPL_OF_LIBFDT_ASSUME_MASK
config VPL_OF_LIBFDT
bool "Enable the FDT library for VPL"
+ depends on VPL
default y if VPL_OF_CONTROL && !VPL_OF_PLATDATA
help
This enables the FDT library (libfdt). It provides functions for
@@ -793,7 +794,7 @@ config VPL_OF_LIBFDT
config VPL_OF_LIBFDT_ASSUME_MASK
hex "Mask of conditions to assume for libfdt"
- depends on VPL_OF_LIBFDT || FIT
+ depends on VPL_OF_LIBFDT || (FIT && VPL)
default 0xff
help
Use this to change the assumptions made by libfdt in SPL about the