Hi Bin, On 12 October 2015 at 06:23, Bin Meng <bmeng...@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...@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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot