Author: oxygene
Date: 2009-04-28 16:49:21 +0200 (Tue, 28 Apr 2009)
New Revision: 4225

Modified:
   trunk/coreboot-v2/src/arch/i386/boot/tables.c
Log:
Only add ACPI tables if ACPI is enabled for the board.
Trivial fix to make abuild happy.


Signed-off-by: Patrick Georgi <[email protected]>
Acked-by: Patrick Georgi <[email protected]>


Modified: trunk/coreboot-v2/src/arch/i386/boot/tables.c
===================================================================
--- trunk/coreboot-v2/src/arch/i386/boot/tables.c       2009-04-28 14:18:16 UTC 
(rev 4224)
+++ trunk/coreboot-v2/src/arch/i386/boot/tables.c       2009-04-28 14:49:21 UTC 
(rev 4225)
@@ -112,6 +112,7 @@
        /* 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 @@
        rom_table_end = (rom_table_end+1023) & ~1023;
 #endif
 #endif
+#endif
        /* copy the smp block to address 0 */
        post_code(0x96);
 


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to