aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/tables.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-26 17:48:05 -0400
committerTom Rini <trini@konsulko.com>2015-08-26 17:48:05 -0400
commit79c884d7e449a63fa8f07b7495f8f9873355c48f (patch)
tree19adcc1b9d3520a68937a1f5f81b06775c790d8a /arch/x86/lib/tables.c
parentad608a21f89bf7467059ed59d60b080aace7ef99 (diff)
parentf4b5db7c5309dd7f3ecc6369f3c1f41e8bfe93ae (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 75ffbc1b22..f15b2e2855 100644
--- a/arch/x86/lib/tables.c
+++ b/arch/x86/lib/tables.c
@@ -8,6 +8,7 @@
#include <asm/sfi.h>
#include <asm/mpspec.h>
#include <asm/tables.h>
+#include <asm/acpi_table.h>
u8 table_compute_checksum(void *v, int len)
{
@@ -51,4 +52,8 @@ void write_tables(void)
rom_table_end = write_mp_table(rom_table_end);
rom_table_end = ALIGN(rom_table_end, 1024);
#endif
+#ifdef CONFIG_GENERATE_ACPI_TABLE
+ rom_table_end = write_acpi_tables(rom_table_end);
+ rom_table_end = ALIGN(rom_table_end, 1024);
+#endif
}