ulib: Disable console messages
By default U-Boot shows the console settings on startup, e.g.: In: serial,vidconsole Out: serial,vidconsole Err: serial,vidconsole These messages are useful for the user but not for an application using U-Boot as a library. Disable them. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -1301,7 +1301,7 @@ int console_init_r(void)
|
||||
|
||||
done:
|
||||
|
||||
if (!IS_ENABLED(CONFIG_SYS_CONSOLE_INFO_QUIET))
|
||||
if (!IS_ENABLED(CONFIG_SYS_CONSOLE_INFO_QUIET) && !gd_ulib())
|
||||
stdio_print_current_devices();
|
||||
|
||||
#ifdef CONFIG_VIDCONSOLE_AS_LCD
|
||||
|
||||
Reference in New Issue
Block a user