[PATCH 0/4] x86: Updates to SMBIOS

Simon Glass sjg at chromium.org
Sun Sep 27 16:52:43 CEST 2020


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

-- 
2.28.0.681.g6f77f65b4e-goog



More information about the U-Boot mailing list