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 /common | |
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 'common')
-rw-r--r-- | common/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index 84db2e43f1..e3a57e2082 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -87,6 +87,7 @@ config SPL_LOGLEVEL config TPL_LOGLEVEL int + depends on TPL default LOGLEVEL config VPL_LOGLEVEL @@ -408,7 +409,7 @@ endif config TPL_LOG bool "Enable logging support in TPL" - depends on LOG + depends on LOG && TPL help This enables support for logging of status and debug messages. These can be displayed on the console, recorded in a memory buffer, or |