summaryrefslogtreecommitdiff
path: root/arch/x86/lib/tables.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-10-21 20:47:40 -0400
committerTom Rini <trini@konsulko.com>2015-10-21 20:47:40 -0400
commit858dbdf8412cefb6dbc4eed63dc3de9744578455 (patch)
tree7cca9f60b3d677b338defa3f4af74a1fff017071 /arch/x86/lib/tables.c
parent89b5c81b75658b7ff66dea6c38a51dfecc9dd508 (diff)
parente0ae64880b61fdeaf261fddd747efa80fa53d386 (diff)
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/lib/tables.c')
-rw-r--r--arch/x86/lib/tables.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c
index f15b2e2855a..14b15cf3891 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
}