Skip to content
Commit e1cbd916 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 8d9bb98f
Loading
Loading
Loading
Loading