[coreboot] Need HAVE_HIGH_TABLES for the Tyan S2916_fam10

Joe Julian joe at julianfamily.org
Fri Mar 6 21:39:55 CET 2009


I need to implement the HAVE_HIGH_TABLES patch. I've implemented the 
following changes, but I can't decipher how to implement the change to 
northbridge/amd/amdfam10/northbridge.c and I don't have a mainboard 
acpi_tables.c

--- mainboard.c    (revision 3981)
+++ mainboard.c    (working copy)
@@ -24,6 +24,7 @@
 #include <device/pci.h>
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
+#include <boot/tables.h>
 #include "chip.h"
 
 #if CONFIG_CHIP_NAME == 1
@@ -31,3 +32,15 @@
     CHIP_NAME("Tyan S2912 Mainboard (Family 10)")
 };
 #endif
+/* in arch/i386/boot/tables.c */
+extern uint64_t high_tables_base, high_tables_size;
+
+int add_mainboard_resources(struct lb_memory *mem)
+{
+#if HAVE_HIGH_TABLES == 1
+    printk_debug("Adding high table area\n");
+        lb_add_memory_range(mem, LB_MEM_TABLE,
+        high_tables_base, high_tables_size);
+#endif
+return 0;
+}


--- Options.lb    (revision 3981)
+++ Options.lb    (working copy)
@@ -22,6 +22,8 @@
 uses HAVE_MP_TABLE
 uses HAVE_PIRQ_TABLE
 uses HAVE_ACPI_TABLES
+uses HAVE_MAINBOARD_RESOURCES
+uses HAVE_HIGH_TABLES
 uses ACPI_SSDTX_NUM
 uses USE_FALLBACK_IMAGE
 uses USE_FAILOVER_IMAGE
@@ -166,6 +168,8 @@
 
 ## ACPI tables will be included
 default HAVE_ACPI_TABLES=0
+default HAVE_MAINBOARD_RESOURCES=1
+default HAVE_HIGH_TABLES=1
 ## extra SSDT num
 default ACPI_SSDTX_NUM=31






More information about the coreboot mailing list