aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2018-01-04 15:16:44 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2018-01-05 10:38:23 +0100
commit09ca9f8bc2a6480335e4bae8f3cad27245c10086 (patch)
tree5ecaf15488c233385ac31ad87cf6a3543450ed2f /mk/config.mk
parent705ee6a3479431e30f4a14192b1483fa6d0ecffa (diff)
mk/config.mk: remove obsolete text and clarify usage of log levels
The configuration variable CFG_TEE_DRV_DEBUGFS was used by an older version of the older OP-TEE linux driver, before commit 724298b6e425 ("Linux driver refactoring") [1]. It is now obsolete, so remove it. The text explaining how to set log levels is also reworded slightly. Link: [1] https://github.com/OP-TEE/optee_linuxdriver/commit/724298b6e425 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Joakim Bech <joakim.bech@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r--mk/config.mk16
1 files changed, 7 insertions, 9 deletions
diff --git a/mk/config.mk b/mk/config.mk
index b9e3bd53..7c7b93f2 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -44,16 +44,14 @@ WARNS ?= 3
# so assertions are disabled.
CFG_TEE_CORE_DEBUG ?= y
-# Max level of the tee core traces. 0 means disable, 4 is max.
-# Supported values: 0 (no traces) to 4 (all traces)
-# If CFG_TEE_DRV_DEBUGFS is set, the level of traces to print can be
-# dynamically changes via debugfs in the range 1 => CFG_TEE_CORE_LOG_LEVEL
+# Log levels for the TEE core and user-mode TAs
+# Defines which messages are displayed on the secure console
+# 0: none
+# 1: error
+# 2: error + warning
+# 3: error + warning + debug
+# 4: error + warning + debug + flow
CFG_TEE_CORE_LOG_LEVEL ?= 1
-
-# TA and TEECore log level
-# Supported values: 0 (no traces) to 4 (all traces)
-# If CFG_TEE_DRV_DEBUGFS is set, the level of traces to print can be
-# dynamically changes via debugfs in the range 1 => CFG_TEE_TA_LOG_LEVEL
CFG_TEE_TA_LOG_LEVEL ?= 1
# TA enablement