mbox series

[0/4] x86: Updates to SMBIOS

Message ID 20200927145247.1544339-1-sjg@chromium.org
Headers show
Series x86: Updates to SMBIOS | expand

Message

Simon Glass Sept. 27, 2020, 2:52 p.m. UTC
At present there are a few Kconfig options which allow SMBIOS fields to
be specified at build time.

Not all fields are supported. Also, defining these at build-time is
limiting since a factory system cannot insert values for particular boards
or models without rebuilding U-Boot.

This series adds a way to set SMBIOS properties using the devicetree.
With this approach, more fields are supported and it is easy to update
values in the devicetree in the factory.


Simon Glass (4):
  x86: Pass an ofnode into each SMBIOS function
  smbios: Allow properties to come from the device tree
  smbios: Add more properties
  smbios: Add documentation and devicetree binding

 doc/arch/x86.rst                             |  8 ++
 doc/device-tree-bindings/board/board_x86.txt | 36 +++++++
 include/smbios.h                             |  5 +-
 lib/smbios.c                                 | 99 +++++++++++++++-----
 4 files changed, 124 insertions(+), 24 deletions(-)
 create mode 100644 doc/device-tree-bindings/board/board_x86.txt