[U-Boot] [PATCH 2/2] x86: Add SMBIOS table support
Simon Glass
sjg at chromium.org
Sun Oct 18 15:05:21 CEST 2015
Hi Bin,
On 12 October 2015 at 06:23, Bin Meng <bmeng.cn at gmail.com> wrote:
> System Management BIOS (SMBIOS) is a specification for how
> motherboard and system vendors present management information
> about their products in a standard format by extending the BIOS
> interface on Intel architecture systems. As of today the latest
> spec is 3.0 and can be downloaded from DMTF website. This commit
> adds a simple and minimum required implementation.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - Add comments for smbios_add_string() and smbios_string_table_len()
> - Add inline function fill_smbios_header() to fill the table header
> - Remove update_max() macro, instead use a function pointer table
> to handle the writing of each table structure
> - Add writing SMBIOS type2 table (similar to type1)
>
> arch/x86/Kconfig | 11 ++
> arch/x86/include/asm/smbios.h | 236 ++++++++++++++++++++++++++++++++++++
> arch/x86/lib/Makefile | 1 +
> arch/x86/lib/smbios.c | 269 ++++++++++++++++++++++++++++++++++++++++++
> arch/x86/lib/tables.c | 5 +
> doc/README.x86 | 2 -
> 6 files changed, 522 insertions(+), 2 deletions(-)
> create mode 100644 arch/x86/include/asm/smbios.h
> create mode 100644 arch/x86/lib/smbios.c
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list