summaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index f08a8e7493..e7914ca750 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -83,6 +83,7 @@ config LOGLEVEL
config SPL_LOGLEVEL
int
+ depends on SPL
default LOGLEVEL
config TPL_LOGLEVEL
@@ -358,7 +359,7 @@ config LOG_SYSLOG
config SPL_LOG
bool "Enable logging support in SPL"
- depends on LOG
+ depends on LOG && SPL
help
This enables support for logging of status and debug messages. These
can be displayed on the console, recorded in a memory buffer, or