optee-os-stm32mp: reduce verbosity

ST_OPTEE_DEBUG_TRACE is set to 0 if ST_DEBUG_TRACE is set to 0.
However, on the optee source code, if ST_OPTEE_DEBUG_TRACE=0 the
log level is automatically set to 3 (INFO) resulting in a very
verbose optee log.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2024-09-27 14:05:13 +02:00
parent 7b50fb3a06
commit 33ca8bc914
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ OPTEEOUTPUTMACHINE ?= "stm32mp1"
OPTEEOUTPUTMACHINE:stm32mp1common = "stm32mp1" OPTEEOUTPUTMACHINE:stm32mp1common = "stm32mp1"
OPTEEOUTPUTMACHINE:stm32mp2common = "stm32mp2" OPTEEOUTPUTMACHINE:stm32mp2common = "stm32mp2"
# Enable OPTEE_DEBUG_TRACE; If set to 0, LOG_LEVEL defaults to 3 on optee code
ST_OPTEE_DEBUG_TRACE = "1"
# Log level
ST_OPTEE_DEBUG_LOG_LEVEL = "0"
# The package is empty but must be generated to avoid apt-get installation issue # The package is empty but must be generated to avoid apt-get installation issue
ALLOW_EMPTY:${PN} = "1" ALLOW_EMPTY:${PN} = "1"