summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-04-28 14:49:21 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-04-28 14:49:21 +0000
commit1b04403e7f7145a60300d869c0a883b55dbd347c (patch)
treed04951562ac47a33437399e35c9f90a7ac13b40a
parenta19f64479946a2972331855389635db16fa2623e (diff)
downloadcoreboot-1b04403e7f7145a60300d869c0a883b55dbd347c.tar.xz
Only add ACPI tables if ACPI is enabled for the board.
Trivial fix to make abuild happy. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4225 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/boot/tables.c2
1 files changed, 2 insertions, 0 deletions
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) {
@@ -129,6 +130,7 @@ struct lb_memory *write_tables(void)
rom_table_end = (rom_table_end+1023) & ~1023;
#endif
#endif
+#endif
/* copy the smp block to address 0 */
post_code(0x96);