All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/12] smbios: Enhancements for more flexibility
@ 2021-01-21  2:06 Simon Glass
  2021-01-21  2:06 ` [PATCH v2 01/12] README: Add doumentation for version information Simon Glass
                   ` (11 more replies)
  0 siblings, 12 replies; 27+ messages in thread
From: Simon Glass @ 2021-01-21  2:06 UTC (permalink / raw)
  To: u-boot

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 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 +
 README                                |  92 ++++++++++
 board/google/chromebook_coral/coral.c |   5 +
 include/asm-generic/global_data.h     |   6 +
 include/smbios.h                      |  26 +--
 include/sysinfo.h                     |  13 +-
 lib/smbios.c                          | 243 +++++++++++++++++++-------
 7 files changed, 315 insertions(+), 74 deletions(-)

-- 
2.30.0.296.g2bfb1c46d8-goog

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2021-01-21 17:32 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21  2:06 [PATCH v2 00/12] smbios: Enhancements for more flexibility Simon Glass
2021-01-21  2:06 ` [PATCH v2 01/12] README: Add doumentation for version information Simon Glass
2021-01-21  5:52   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 02/12] Makefile: Provide numeric versions Simon Glass
2021-01-21  5:54   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 03/12] smbios: Move smbios_write_type to the C file Simon Glass
2021-01-21  5:55   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 04/12] smbios: Use char consistently for the eos member Simon Glass
2021-01-21  5:56   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 05/12] smbios: Set BIOS release version Simon Glass
2021-01-21  6:37   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 06/12] smbios: Use a struct to keep track of context Simon Glass
2021-01-21  6:37   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 07/12] smbios: Drop the eos parameter Simon Glass
2021-01-21  6:37   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 08/12] smbios: Track the end of the string table Simon Glass
2021-01-21  6:37   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 09/12] smbios: Add more options for the BIOS version string Simon Glass
2021-01-21  6:54   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 10/12] sysinfo: Move #ifdef so that operations are always defined Simon Glass
2021-01-21  6:54   ` Bin Meng
2021-01-21  2:06 ` [PATCH v2 11/12] x86: coral: Add sysinfo ops Simon Glass
2021-01-21  6:54   ` Bin Meng
2021-01-21 17:32     ` Simon Glass
2021-01-21  2:06 ` [PATCH v2 12/12] smbios: Allow a few values to come from sysinfo Simon Glass
2021-01-21  6:54   ` Bin Meng
2021-01-21 17:32     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.