commit | 34e97aa9cfd3bb6cb44186dc90ab859e17c7d4a0 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Jan 03 09:07:20 2024 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Jan 09 10:09:15 2024 +0100 |
tree | c498d4fcd26f3b4f3f738da9dbc79f00010d8cb8 | |
parent | c0c63fa7b06f1b28b975aaa6d4f425fc9f5627a1 [diff] |
smbios: smbios.h should not import ofnode.h The smbios.h include does not use any definitions from ofnode.h. So don't include it. As DECLARE_GLOBAL_DATA_PTR is no longer defined via dm/of.h we need to add it to efi_smbios.c. Add now missing includes to smbios-parser.c. Remove a superfluous check comparing the sizes of the SMBIOS 2.1 and SMBIOS 3.0 anchors. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>