Am 28.04.2009 15:14, schrieb Stefan Reinauer:

Will this do?
[...]

Attached patch does this for all high tables capable northbridges, and eliminates HAVE_HIGH_TABLES in the mainboards.

The northbridge code keeps the HAVE_HIGH_TABLES #ifs in case boards want to disable that feature.

Signed-off-by: Patrick Georgi <[email protected]>
Index: src/northbridge/via/cx700/Config.lb
===================================================================
--- src/northbridge/via/cx700/Config.lb (Revision 4222)
+++ src/northbridge/via/cx700/Config.lb (Arbeitskopie)
@@ -15,6 +15,8 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
+uses HAVE_HIGH_TABLES
+
 config chip.h
 
 object cx700_reset.o
@@ -26,3 +28,4 @@
 driver cx700_sata.o
 driver cx700_vga.o
 
+default HAVE_HIGH_TABLES=1
Index: src/northbridge/amd/amdk8/Config.lb
===================================================================
--- src/northbridge/amd/amdk8/Config.lb (Revision 4222)
+++ src/northbridge/amd/amdk8/Config.lb (Arbeitskopie)
@@ -1,7 +1,9 @@
 uses AGP_APERTURE_SIZE
 uses HAVE_ACPI_TABLES
+uses HAVE_HIGH_TABLES
 
 default AGP_APERTURE_SIZE=0x4000000
+default HAVE_HIGH_TABLES=1
 
 config chip.h
 
Index: src/northbridge/intel/i945/Config.lb
===================================================================
--- src/northbridge/intel/i945/Config.lb        (Revision 4222)
+++ src/northbridge/intel/i945/Config.lb        (Arbeitskopie)
@@ -17,6 +17,10 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
+uses HAVE_HIGH_TABLES
+
+default HAVE_HIGH_TABLES=1
+
 config chip.h
 driver northbridge.o
 driver gma.o
Index: src/mainboard/supermicro/h8dme/Options.lb
===================================================================
--- src/mainboard/supermicro/h8dme/Options.lb   (Revision 4223)
+++ src/mainboard/supermicro/h8dme/Options.lb   (Arbeitskopie)
@@ -56,7 +56,6 @@
 uses STACK_SIZE
 uses HEAP_SIZE
 uses USE_OPTION_TABLE
-uses HAVE_HIGH_TABLES
 uses HAVE_LOW_TABLES
 uses CONFIG_MULTIBOOT
 uses LB_CKS_RANGE_START
@@ -128,7 +127,6 @@
 #default ROM_SIZE=524288
 default ROM_SIZE=0x100000
 
-default HAVE_HIGH_TABLES = 1
 default HAVE_LOW_TABLES = 0
 default CONFIG_MULTIBOOT=0
 
Index: src/mainboard/kontron/986lcd-m/Options.lb
===================================================================
--- src/mainboard/kontron/986lcd-m/Options.lb   (Revision 4222)
+++ src/mainboard/kontron/986lcd-m/Options.lb   (Arbeitskopie)
@@ -31,7 +31,6 @@
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
 uses HAVE_MAINBOARD_RESOURCES
-uses HAVE_HIGH_TABLES
 # SMP
 uses CONFIG_SMP
 uses CONFIG_LOGICAL_CPUS
@@ -177,7 +176,6 @@
 ##
 default HAVE_ACPI_TABLES=1
 default HAVE_MAINBOARD_RESOURCES=1
-default HAVE_HIGH_TABLES=1
 
 ##
 ## Build code to export a CMOS option table
Index: src/mainboard/tyan/s2891/Options.lb
===================================================================
--- src/mainboard/tyan/s2891/Options.lb (Revision 4223)
+++ src/mainboard/tyan/s2891/Options.lb (Arbeitskopie)
@@ -33,7 +33,6 @@
 uses LB_CKS_LOC
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
-uses HAVE_HIGH_TABLES
 uses HAVE_LOW_TABLES
 uses CONFIG_MULTIBOOT
 uses HAVE_SMI_HANDLER
@@ -129,7 +128,6 @@
 ##
 default HAVE_ACPI_TABLES=1
 default HAVE_LOW_TABLES=1
-default HAVE_HIGH_TABLES=1
 default CONFIG_MULTIBOOT=0
 
 ##
Index: src/mainboard/tyan/s2892/Options.lb
===================================================================
--- src/mainboard/tyan/s2892/Options.lb (Revision 4223)
+++ src/mainboard/tyan/s2892/Options.lb (Arbeitskopie)
@@ -33,7 +33,6 @@
 uses LB_CKS_LOC
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
-uses HAVE_HIGH_TABLES
 uses HAVE_LOW_TABLES
 uses CONFIG_MULTIBOOT
 uses HAVE_SMI_HANDLER
@@ -123,7 +122,6 @@
 ##
 default HAVE_ACPI_TABLES=1
 default HAVE_LOW_TABLES=1
-default HAVE_HIGH_TABLES=1
 default CONFIG_MULTIBOOT=0
 
 ##
Index: src/mainboard/tyan/s2895/Options.lb
===================================================================
--- src/mainboard/tyan/s2895/Options.lb (Revision 4223)
+++ src/mainboard/tyan/s2895/Options.lb (Arbeitskopie)
@@ -36,7 +36,6 @@
 uses LB_CKS_LOC
 uses HAVE_ACPI_TABLES
 uses HAVE_ACPI_RESUME
-uses HAVE_HIGH_TABLES
 uses HAVE_LOW_TABLES
 uses CONFIG_MULTIBOOT
 uses HAVE_SMI_HANDLER
@@ -136,7 +135,6 @@
 ##
 default HAVE_ACPI_TABLES=1
 default HAVE_LOW_TABLES=1
-default HAVE_HIGH_TABLES=1
 default CONFIG_MULTIBOOT=0
 
 ##
Index: src/mainboard/via/vt8454c/Options.lb
===================================================================
--- src/mainboard/via/vt8454c/Options.lb        (Revision 4223)
+++ src/mainboard/via/vt8454c/Options.lb        (Arbeitskopie)
@@ -26,7 +26,6 @@
 uses HAVE_OPTION_TABLE
 uses USE_OPTION_TABLE
 uses HAVE_LOW_TABLES
-uses HAVE_HIGH_TABLES
 
 uses USE_FALLBACK_IMAGE
 uses HAVE_FALLBACK_BOOT
@@ -145,7 +144,6 @@
 ## Build code to fill in tables both in low and high memory
 ##
 default HAVE_LOW_TABLES=1
-default HAVE_HIGH_TABLES=1
 
 
 ##
Index: src/mainboard/asus/m2v-mx_se/Options.lb
===================================================================
--- src/mainboard/asus/m2v-mx_se/Options.lb     (Revision 4222)
+++ src/mainboard/asus/m2v-mx_se/Options.lb     (Arbeitskopie)
@@ -48,7 +48,6 @@
 uses CONFIG_LB_MEM_TOPK
 uses HAVE_ACPI_TABLES
 uses HAVE_MAINBOARD_RESOURCES
-uses HAVE_HIGH_TABLES
 uses HAVE_ACPI_RESUME
 uses HAVE_LOW_TABLES
 uses LB_CKS_RANGE_START
@@ -115,7 +114,6 @@
 default CONFIG_LOGICAL_CPUS = 1
 default HAVE_ACPI_TABLES = 1
 default HAVE_MAINBOARD_RESOURCES = 1
-default HAVE_HIGH_TABLES = 1
 default HAVE_LOW_TABLES = 0
 default HAVE_ACPI_RESUME = 1
 
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to