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
This commit is contained in:
Patrick Georgi 2009-04-28 14:49:21 +00:00
parent a19f644799
commit 1b04403e7f
1 changed files with 2 additions and 0 deletions

View File

@ -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 /* 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 * pushes coreboot table out of first 4K if set up in low table area
*/ */
#if HAVE_ACPI_TABLES == 1
#if HAVE_HIGH_TABLES == 1 #if HAVE_HIGH_TABLES == 1
unsigned long high_rsdp=ALIGN(high_table_end, 16); unsigned long high_rsdp=ALIGN(high_table_end, 16);
if (high_tables_base) { 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 = write_acpi_tables(rom_table_end);
rom_table_end = (rom_table_end+1023) & ~1023; rom_table_end = (rom_table_end+1023) & ~1023;
#endif #endif
#endif
#endif #endif
/* copy the smp block to address 0 */ /* copy the smp block to address 0 */
post_code(0x96); post_code(0x96);