[U-Boot] [PATCH 2/2] x86: Add SMBIOS table support

Bin Meng bmeng.cn at gmail.com
Mon Oct 12 15:29:51 CEST 2015


Hi Simon,

On Mon, Oct 12, 2015 at 8:23 PM, 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)
>

This is actually the v2 series. Sorry I forgot to add a 'Series-version' ..

>  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
>

[snip]

Regards,
Bin


More information about the U-Boot mailing list