smbios: Add more properties
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 13:32:09 +0000 (06:32 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 02:18:20 +0000 (10:18 +0800)
commita3f5c8ea69a0047aa0db12517b3bf91ae7d3f682
tree008ff6be17d80a4e0a9baf86ead4f7f7d95d552e
parent44ffb6f0ecaf25bd233b511cbf2ddb7b6019a53d
smbios: Add more properties

The current tables only support a subset of the available fields defined
by the SMBIOS spec. Add a few more.

We could use CONFIG_SYS_CPU or CONFIG_SYS_SOC as a default for family, but
the meaning of that value relates more to the whole system rather than
just the SoC.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/smbios.c