]> git.ipfire.org Git - thirdparty/u-boot.git/commit
smbios: smbios.h should not import ofnode.h
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 3 Jan 2024 08:07:20 +0000 (09:07 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Jan 2024 09:09:15 +0000 (10:09 +0100)
commitefe441a0a3ad852b7f6921898775ed57f83f15d9
treec498d4fcd26f3b4f3f738da9dbc79f00010d8cb8
parent1b6228f28d9336620fb508ed198ad8be1eb7aa9c
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>
include/smbios.h
lib/efi_loader/efi_smbios.c
lib/smbios-parser.c