summaryrefslogtreecommitdiff
path: root/board/dhelectronics
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-08 22:46:54 +0300
committerTom Rini <trini@konsulko.com>2021-06-08 18:39:09 +0300
commite1cbd916c86cbfdb87a7b2219624057428c285d4 (patch)
tree338db8b14138d67a2969b677258873c30aa8f03e /board/dhelectronics
parent8d9bb98f8649222777193c6c161361e1ebd5e3fa (diff)
downloadu-boot-e1cbd916c86cbfdb87a7b2219624057428c285d4.tar.xz
log: Convert log values to printf() if not enabled
At present if logging not enabled, log_info() becomes a nop. But we want log output at the 'info' level to be akin to printf(). Update the macro to pass the output straight to printf() in this case. This mimics the behaviour for the log_...() macros like log_debug() and log_info(), so we can drop the special case for these. Add new tests to cover this case. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/dhelectronics')
0 files changed, 0 insertions, 0 deletions