diff options
-rw-r--r-- | common/board_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_info.c b/common/board_info.c index 1cfe34f7067..89a29c322ce 100644 --- a/common/board_info.c +++ b/common/board_info.c @@ -31,7 +31,7 @@ int __weak show_board_info(void) if (IS_ENABLED(CONFIG_SYSINFO)) { /* This might provide more detail */ - ret = uclass_first_device_err(UCLASS_SYSINFO, &dev); + ret = sysinfo_get(&dev); if (!ret) ret = sysinfo_get_str(dev, SYSINFO_ID_BOARD_MODEL, |