smbios: add detailed smbios information
authorRaymond Mao <raymond.mao@linaro.org>
Fri, 6 Dec 2024 22:54:23 +0000 (14:54 -0800)
committerTom Rini <trini@konsulko.com>
Tue, 14 Jan 2025 20:29:29 +0000 (14:29 -0600)
commitbcf456dd369e5492df4316888317f67eddae4469
treebeba1c7e993de22c70818347f6520ba42bc79b43
parent5d38e0d963f704cbad3c0c57a274e191b9f3f44c
smbios: add detailed smbios information

Add detailed SMBIOS information as following:
1. Missing fields in Type #3 and #4
2. Type #7

Add support to dynamic length of contained object handles and
elements.

As SMBIOS is a fundamental feature which is enabled for all
boards, in order to avoid increasing rom size, all detailed SMBIOS
information is under kconfig GENERATE_SMBIOS_TABLE_VERBOSE.
Board maintainers can determine whether to select this feature.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
lib/smbios.c