
26 Dec
2023
26 Dec
'23
10:47 a.m.
On Sat, Dec 23, 2023 at 12:49 AM Heinrich Schuchardt xypron.glpk@gmx.de wrote:
U-Boot can either generated an SMBIOS table or copy it from a prior boot stage, e.g. QEMU.
Provide a command to display the SMBIOS information.
Currently only type 1 and 2 are translated to human readable text. Other types may be added later. Currently only a hexdump and the list of strings is provided for these.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
cmd/Kconfig | 7 ++ cmd/Makefile | 1 + cmd/smbios.c | 191 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 199 insertions(+) create mode 100644 cmd/smbios.c
Reviewed-by: Simon Glass sjg@chromium.org