Skip to contentSkip to conversation

doc: log: correct option name CONFIG_LOG_MAX_LEVEL

PATCH New Patrick Delaunay 3 participants 3 messages May 27, 2020 – Jun 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

---

Changes in v2:
- add commnet for TPL with CONFIG_TPL_LOG_MAX_LEVEL example

 doc/README.log | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
doc/README.log +3 -2
index 1057981f45..ba838824a9 100644
@@ -60,13 +60,14 @@ Enabling logging
 The following options are used to enable logging at compile time:
 
    CONFIG_LOG		- Enables the logging system
-   CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled
+   CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
 				out)
    CONFIG_LOG_CONSOLE	- Enable writing log records to the console
 
 If CONFIG_LOG is not set, then no logging will be available.
 
-The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
+The above have SPL and TPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL and
+CONFIG_TPL_LOG_MAX_LEVEL.
 
 
 Temporary logging within a single file
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Quoted 7 lines · Patrick Delaunay

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

Quoted 8 lines

---

Changes in v2:
- add commnet for TPL with CONFIG_TPL_LOG_MAX_LEVEL example

 doc/README.log | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
#2 lore raw

PATCH v2 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Quoted 7 lines · Patrick Delaunay

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

Quoted 8 lines

---

Changes in v2:
- add commnet for TPL with CONFIG_TPL_LOG_MAX_LEVEL example

 doc/README.log | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!