From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 6 Jan 2021 21:21:52 -0700 Subject: [PATCH 00/10] smbios: Enhancements for more flexibility Message-ID: <20210107042202.2600568-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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