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:
Simon Glass
2025-11-05 19:47:28 +01:00
parent 7850063907
commit 9b84b5c623

View File

@@ -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;