diff options
author | Tom Rini <trini@konsulko.com> | 2024-07-04 09:25:51 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-04 09:25:51 -0600 |
commit | e24053d8fb42c909b470e33f19ac71fd718133ce (patch) | |
tree | b69fd2a2ee983403d9ea52b928632dbac3eaff03 /lib/smbios.c | |
parent | 0f073e022ddc5070e5df1d053e4bdc1874fbcc0f (diff) | |
parent | 4a8a54c3f4202482ec4f24a117afc38cf2c0c051 (diff) |
Merge patch series "testb: Various tweaks and fixes for Labgrid"
Simon Glass <sjg@chromium.org> says:
This series includes a number of mostly unrelated changes which are in
service of running U-Boot on a lab using Labgrid.
Diffstat (limited to 'lib/smbios.c')
-rw-r--r-- | lib/smbios.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/smbios.c b/lib/smbios.c index fb6eaf1d5ca..4126466e34a 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -5,6 +5,8 @@ * Adapted from coreboot src/arch/x86/smbios.c */ +#define LOG_CATEGORY LOGC_BOARD + #include <dm.h> #include <env.h> #include <linux/stringify.h> @@ -596,8 +598,12 @@ ulong write_smbios_table(ulong addr) parent_node = dev_read_subnode(ctx.dev, "smbios"); ret = sysinfo_detect(ctx.dev); - if (ret) - return ret; + + /* + * ignore the error since many boards don't implement + * this and we can still use the info in the devicetree + */ + ret = log_msg_ret("sys", ret); } } else { ctx.dev = NULL; |