ulib: board_f: Skip showing board info with ulib
When running as a library, don't show the board information, to avoid printing output before the main program starts. Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -59,6 +59,9 @@ static int try_sysinfo(void)
|
||||
|
||||
int show_board_info(void)
|
||||
{
|
||||
if (gd_ulib())
|
||||
return 0;
|
||||
|
||||
if (IS_ENABLED(CONFIG_OF_CONTROL)) {
|
||||
int ret = -ENOSYS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user