console: Support a format string for stderr output
authorSimon Glass <sjg@chromium.org>
Tue, 1 Apr 2025 17:29:32 +0000 (06:29 +1300)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 19:40:20 +0000 (13:40 -0600)
commitfe2d4d4cef093d24da389fda29a556b15c84829b
tree9f7af11a4eaa84befd12bd19f2d75378e9de6811
parent4ca87fd18c1b718be423755939a6e5b1688869f5
console: Support a format string for stderr output

Add a console_printf_select_stderr() function so that it is not
necessary for the caller to process the format string.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
common/console.c
include/console.h