tpl: Ensure all TPL symbols in Kconfig have some TPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a TPL specific option has at least a direct dependency on TPL. 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>
This commit is contained in:
@@ -248,6 +248,7 @@ config SPL_TINY_MEMSET
|
||||
|
||||
config TPL_TINY_MEMSET
|
||||
bool "Use a very small memset() in TPL"
|
||||
depends on TPL
|
||||
help
|
||||
The faster memset() is the arch-specific one (if available) enabled
|
||||
by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
|
||||
@@ -771,7 +772,7 @@ config TPL_OF_LIBFDT
|
||||
|
||||
config TPL_OF_LIBFDT_ASSUME_MASK
|
||||
hex "Mask of conditions to assume for libfdt"
|
||||
depends on TPL_OF_LIBFDT || FIT
|
||||
depends on TPL_OF_LIBFDT || (FIT && TPL)
|
||||
default 0xff
|
||||
help
|
||||
Use this to change the assumptions made by libfdt in TPL about the
|
||||
|
||||
Reference in New Issue
Block a user