aboutsummaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-07-12 09:39:49 +0200
committerSimon Glass <sjg@chromium.org>2022-07-26 02:30:56 -0600
commit54e89a8beb0edc6135586fed2a71139830d94974 (patch)
treee7633a4ca261ae30254057124c26870db3dc6563 /include/command.h
parentde84a4f0eed297afa752ee46c072a99834dde806 (diff)
log: force DEBUG when LOG_DEBUG is activated
When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and DEBUG is not defined the trace with debug() macro are not displayed, because the parameter cond : _DEBUG = 0 is checked in debug_cond(). With this patch the define DEBUG, used to force the trace generated by debug() macro, is linked with the define LOG_DEBUG, used to force the trace generated by other macros (log_debug, dev_dbg, pr_debug). We only need to define LOG_DEBUG in a file to activate all the traces generated by any U-Boot debug macro, as it is described in /doc/develop/logging.rst Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/command.h')
0 files changed, 0 insertions, 0 deletions