[PATCH 00/10] smbios: Enhancements for more flexibility

Simon Glass sjg at chromium.org
Thu Jan 7 05:21:52 CET 2021


This series includes various patches to allow more flexibility as to where
the data for SMBIOS tables comes from:

- introduces some standard sysinfo options as a source, e.g. to read
   strapping pins to determine the board revision
- allows the U-Boot version number to be included
- allows the version number to be provided programmatically, e.g. to
   support the build system adding information after U-Boot is built

Documentation is added for how to obtain version information.

The code is also refactored a little to make it easier to maintain.


Simon Glass (10):
  README: Add doumentation for version information
  Makefile: Provide numeric versions
  smbios: Move smbios_write_type to the C file
  smbios: Use char consistently for the eos member
  smbios: Set BIOS release version
  smbios: Use a struct to keep track of context
  smbios: Drop the eos parameter
  smbios: Track the end of the string table
  smbios: Add more options for the BIOS version string
  smbios: Allow a few values to come from sysinfo

 Makefile                          |   4 +
 README                            |  92 ++++++++++++
 include/asm-generic/global_data.h |   3 +
 include/smbios.h                  |  26 ++--
 include/sysinfo.h                 |  11 ++
 lib/smbios.c                      | 240 ++++++++++++++++++++++--------
 6 files changed, 303 insertions(+), 73 deletions(-)

-- 
2.29.2.729.g45daf8777d-goog



More information about the U-Boot mailing list