From 1b04403e7f7145a60300d869c0a883b55dbd347c Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 28 Apr 2009 14:49:21 +0000 Subject: Only add ACPI tables if ACPI is enabled for the board. Trivial fix to make abuild happy. Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4225 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/tables.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c index 7e6903f0f7..5083f20564 100644 --- a/src/arch/i386/boot/tables.c +++ b/src/arch/i386/boot/tables.c @@ -112,6 +112,7 @@ struct lb_memory *write_tables(void) /* write them in the rom area because DSDT can be large (8K on epia-m) which * pushes coreboot table out of first 4K if set up in low table area */ +#if HAVE_ACPI_TABLES == 1 #if HAVE_HIGH_TABLES == 1 unsigned long high_rsdp=ALIGN(high_table_end, 16); if (high_tables_base) { @@ -128,6 +129,7 @@ struct lb_memory *write_tables(void) rom_table_end = write_acpi_tables(rom_table_end); rom_table_end = (rom_table_end+1023) & ~1023; #endif +#endif #endif /* copy the smp block to address 0 */ post_code(0x96); -- cgit v1.2.3