smbios: Enhancements for more flexibility
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest12 patches 0 repliesNew
- v312 patches 0 repliesSuperseded
- v212 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 10 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
- Drop debugging change to doc/Makefile
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | README: Add doumentation for version informationdoc/ doc/ | +94 | 0 replies | |
| 2/12 | Makefile: Provide numeric versionsMakefile doc/ | +12 | 0 replies | |
| 3/12 | smbios: Move smbios_write_type to the C fileinclude/ lib/ | +10 | 0 replies | |
| 4/12 | smbios: Use char consistently for the eos memberinclude/ | +2 | 0 replies | |
| 5/12 | smbios: Set BIOS release versionlib/ | +3 | 0 replies | |
| 6/12 | smbios: Use a struct to keep track of contextlib/ | +55 | 0 replies | |
| 7/12 | smbios: Drop the eos parameterlib/ | +36 | 0 replies | |
| 8/12 | smbios: Track the end of the string tablelib/ | +15 | 0 replies | |
| 9/12 | smbios: Add more options for the BIOS version stringinclude/ include/ lib/ | +73 | 0 replies | |
| 10/12 | sysinfo: Move #ifdef so that operations are always definedinclude/ | +1 | 0 replies | |
| 11/12 | x86: coral: Add sysinfo opsboard/ | +5 | 0 replies | |
| 12/12 | smbios: Allow a few values to come from sysinfoinclude/ lib/ | +40 | 0 replies | |
| 12/12 | smbios: Allow a few values to come from sysinfo | +0 | 0 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng | Christian Gmeiner |
|---|---|---|
| 1/12 | R-b | |
| 2/12 | R-b | |
| 3/12 | R-b | R-b |
| 4/12 | R-b | R-b |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | R-b | |
| 8/12 | R-b | |
| 9/12 | R-b | |
| 10/12 | R-b | |
| 11/12 | R-b | |
| 12/12 | R-b | |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/12] smbios: Enhancements for more flexibility
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.
Changes in v4:
- Drop debugging change to doc/Makefile
Changes in v3:
- Move to doc/ and .rst format
- Add examples for converting epoch values
- Use .rst file instead of README
- Fix comment for smbios_add_prop()
- Rename set_eos() to smbios_set_eos()
- Add missing DECLARE_GLOBAL_DATA_PTR
- Expand commit to explain why operations are required
- Use SMBIOS_STR_MAX for the max sysinfo string length
Changes in v2:
- Add a comment about dropping the century
- Zero the context's dev pointer if not used
- Correct documentation format
- Add new patch to fix sysinfo with CONFIG_IS_ENABLED()
- Add new patch to fix crash on coral
Simon Glass (12):
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
sysinfo: Move #ifdef so that operations are always defined
x86: coral: Add sysinfo ops
smbios: Allow a few values to come from sysinfo
Makefile | 4 + board/google/chromebook_coral/coral.c | 5 + doc/develop/index.rst | 1 + doc/develop/version.rst | 101 +++++++++++ include/asm-generic/global_data.h | 6 + include/smbios.h | 26 +-- include/sysinfo.h | 13 +- lib/smbios.c | 248 +++++++++++++++++++------- 8 files changed, 328 insertions(+), 76 deletions(-) create mode 100644 doc/develop/version.rst
Signature · 1 line
2.30.0.478.g8a0d178c01-goog