diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-10-12 05:23:41 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-21 07:46:26 -0600 |
commit | 721e992a8af5e80b2a95a0bc92c9880f2056190b (patch) | |
tree | 9c853033b832dea7df0f6210cdce8b967d2917d1 /arch/x86/lib/tables.c | |
parent | a34b46768f63065ccdf4ae1ddcfe3a184e8822b5 (diff) | |
download | u-boot-imx-721e992a8af5e80b2a95a0bc92c9880f2056190b.zip u-boot-imx-721e992a8af5e80b2a95a0bc92c9880f2056190b.tar.gz u-boot-imx-721e992a8af5e80b2a95a0bc92c9880f2056190b.tar.bz2 |
x86: Add SMBIOS table support
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@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r-- | arch/x86/lib/tables.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index f15b2e2..14b15cf 100644 --- a/arch/x86/lib/tables.c +++ b/arch/x86/lib/tables.c @@ -7,6 +7,7 @@ #include <common.h> #include <asm/sfi.h> #include <asm/mpspec.h> +#include <asm/smbios.h> #include <asm/tables.h> #include <asm/acpi_table.h> @@ -56,4 +57,8 @@ void write_tables(void) rom_table_end = write_acpi_tables(rom_table_end); rom_table_end = ALIGN(rom_table_end, 1024); #endif +#ifdef CONFIG_GENERATE_SMBIOS_TABLE + rom_table_end = write_smbios_table(rom_table_end); + rom_table_end = ALIGN(rom_table_end, 1024); +#endif } |