diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-08 08:24:39 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-28 17:03:31 -0400 |
commit | 8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd (patch) | |
tree | d3ddc8b2d8cd63829a42f17f16017dd701c9936d /lib | |
parent | 5858b90f506e1d3b03afd9dc5f6a5835c2d81675 (diff) | |
download | u-boot-8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd.tar.gz |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 884569f9b15..ccbc52de894 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -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 |