summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-02 09:48:38 +0300
committerPeter Stuge <peter@stuge.se>2012-08-08 03:44:51 +0200
commit1c5071d1753b759f1f3c58fca93eaa7a0aabb804 (patch)
treecfdf71c3d7da8f055e7629c415108a1ca1076eae
parent62673c0290790da8eaee6a4d3f951ec29d0e6fa9 (diff)
downloadcoreboot-1c5071d1753b759f1f3c58fca93eaa7a0aabb804.tar.xz
Drop HAVE_MAINBOARD_RESOURCES
These existed to provide a hook to add reserved memory regions in the coreboot memory table. Reserved memory are now added as resources. Change-Id: I9f83df33845cfa6973b018a51cf9444dbf0f8667 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1414 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
-rw-r--r--src/Kconfig4
-rw-r--r--src/arch/x86/boot/coreboot_table.c4
-rw-r--r--src/arch/x86/include/arch/coreboot_tables.h4
-rw-r--r--src/mainboard/advansus/a785e-i/Kconfig1
-rw-r--r--src/mainboard/advansus/a785e-i/mainboard.c5
-rw-r--r--src/mainboard/amd/bimini_fam10/Kconfig1
-rw-r--r--src/mainboard/amd/bimini_fam10/mainboard.c5
-rw-r--r--src/mainboard/amd/dbm690t/Kconfig1
-rw-r--r--src/mainboard/amd/dbm690t/mainboard.c5
-rw-r--r--src/mainboard/amd/dinar/Kconfig1
-rw-r--r--src/mainboard/amd/dinar/mainboard.c4
-rw-r--r--src/mainboard/amd/inagua/Kconfig1
-rw-r--r--src/mainboard/amd/inagua/mainboard.c4
-rw-r--r--src/mainboard/amd/mahogany/Kconfig1
-rw-r--r--src/mainboard/amd/mahogany/mainboard.c5
-rw-r--r--src/mainboard/amd/mahogany_fam10/Kconfig1
-rw-r--r--src/mainboard/amd/mahogany_fam10/mainboard.c5
-rw-r--r--src/mainboard/amd/parmer/Kconfig1
-rw-r--r--src/mainboard/amd/parmer/mainboard.c4
-rw-r--r--src/mainboard/amd/persimmon/Kconfig1
-rw-r--r--src/mainboard/amd/persimmon/mainboard.c5
-rw-r--r--src/mainboard/amd/pistachio/mainboard.c5
-rw-r--r--src/mainboard/amd/south_station/Kconfig1
-rw-r--r--src/mainboard/amd/south_station/mainboard.c4
-rw-r--r--src/mainboard/amd/thatcher/Kconfig1
-rw-r--r--src/mainboard/amd/thatcher/mainboard.c4
-rw-r--r--src/mainboard/amd/tilapia_fam10/Kconfig1
-rw-r--r--src/mainboard/amd/tilapia_fam10/mainboard.c5
-rw-r--r--src/mainboard/amd/torpedo/Kconfig1
-rw-r--r--src/mainboard/amd/torpedo/mainboard.c4
-rw-r--r--src/mainboard/amd/union_station/Kconfig1
-rw-r--r--src/mainboard/amd/union_station/mainboard.c4
-rw-r--r--src/mainboard/asrock/939a785gmh/Kconfig1
-rw-r--r--src/mainboard/asrock/939a785gmh/mainboard.c5
-rw-r--r--src/mainboard/asrock/e350m1/Kconfig1
-rw-r--r--src/mainboard/asrock/e350m1/mainboard.c4
-rw-r--r--src/mainboard/asus/m2v-mx_se/Kconfig1
-rw-r--r--src/mainboard/asus/m2v-mx_se/mainboard.c5
-rw-r--r--src/mainboard/asus/m5a88-v/Kconfig1
-rw-r--r--src/mainboard/asus/m5a88-v/mainboard.c5
-rw-r--r--src/mainboard/asus/mew-am/Kconfig1
-rw-r--r--src/mainboard/asus/mew-am/mainboard.c5
-rw-r--r--src/mainboard/asus/mew-vm/Kconfig1
-rw-r--r--src/mainboard/asus/mew-vm/mainboard.c5
-rw-r--r--src/mainboard/avalue/eax-785e/Kconfig1
-rw-r--r--src/mainboard/avalue/eax-785e/mainboard.c5
-rw-r--r--src/mainboard/ecs/p6iwp-fe/Kconfig1
-rw-r--r--src/mainboard/ecs/p6iwp-fe/mainboard.c5
-rw-r--r--src/mainboard/gigabyte/ma785gm/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ma785gm/mainboard.c5
-rw-r--r--src/mainboard/gigabyte/ma785gmt/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ma785gmt/mainboard.c5
-rw-r--r--src/mainboard/gigabyte/ma78gm/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ma78gm/mainboard.c5
-rw-r--r--src/mainboard/hp/e_vectra_p2706t/Kconfig1
-rw-r--r--src/mainboard/hp/e_vectra_p2706t/mainboard.c5
-rw-r--r--src/mainboard/iei/kino-780am2-fam10/Kconfig1
-rw-r--r--src/mainboard/iei/kino-780am2-fam10/mainboard.c5
-rw-r--r--src/mainboard/intel/d810e2cb/Kconfig1
-rw-r--r--src/mainboard/intel/d810e2cb/mainboard.c5
-rw-r--r--src/mainboard/intel/eagleheights/mainboard.c5
-rw-r--r--src/mainboard/intel/emeraldlake2/Kconfig1
-rw-r--r--src/mainboard/intel/emeraldlake2/mainboard.c5
-rw-r--r--src/mainboard/jetway/pa78vm5/Kconfig1
-rw-r--r--src/mainboard/jetway/pa78vm5/mainboard.c5
-rw-r--r--src/mainboard/kontron/kt690/Kconfig1
-rw-r--r--src/mainboard/kontron/kt690/mainboard.c5
-rw-r--r--src/mainboard/mitac/6513wu/Kconfig1
-rw-r--r--src/mainboard/mitac/6513wu/mainboard.c5
-rw-r--r--src/mainboard/msi/ms6178/Kconfig1
-rw-r--r--src/mainboard/msi/ms6178/mainboard.c5
-rw-r--r--src/mainboard/nec/powermate2000/Kconfig1
-rw-r--r--src/mainboard/nec/powermate2000/mainboard.c5
-rw-r--r--src/mainboard/rca/rm4100/Kconfig1
-rw-r--r--src/mainboard/rca/rm4100/mainboard.c5
-rw-r--r--src/mainboard/samsung/lumpy/Kconfig1
-rw-r--r--src/mainboard/samsung/lumpy/mainboard.c5
-rw-r--r--src/mainboard/samsung/stumpy/Kconfig1
-rw-r--r--src/mainboard/samsung/stumpy/mainboard.c5
-rw-r--r--src/mainboard/supermicro/h8qgi/mainboard.c7
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/mainboard.c7
-rw-r--r--src/mainboard/technexion/tim8690/mainboard.c5
-rw-r--r--src/mainboard/thomson/ip1000/Kconfig1
-rw-r--r--src/mainboard/thomson/ip1000/mainboard.c5
84 files changed, 0 insertions, 261 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 3453614d1f..ccf866544f 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -292,10 +292,6 @@ config HIGH_SCRATCH_MEMORY_SIZE
hex
default 0x0
-config HAVE_MAINBOARD_RESOURCES
- bool
- default n
-
config USE_OPTION_TABLE
bool
default n
diff --git a/src/arch/x86/boot/coreboot_table.c b/src/arch/x86/boot/coreboot_table.c
index 5b5834a868..9050836fa2 100644
--- a/src/arch/x86/boot/coreboot_table.c
+++ b/src/arch/x86/boot/coreboot_table.c
@@ -667,10 +667,6 @@ unsigned long write_coreboot_table(
/* Add reserved regions */
add_lb_reserved(mem);
-#if CONFIG_HAVE_MAINBOARD_RESOURCES
- add_mainboard_resources(mem);
-#endif
-
lb_dump_memory_ranges(mem);
/* Note:
diff --git a/src/arch/x86/include/arch/coreboot_tables.h b/src/arch/x86/include/arch/coreboot_tables.h
index b177949fb1..8fc648b2ca 100644
--- a/src/arch/x86/include/arch/coreboot_tables.h
+++ b/src/arch/x86/include/arch/coreboot_tables.h
@@ -16,10 +16,6 @@ void lb_memory_range(struct lb_memory *mem,
*/
struct lb_memory *get_lb_mem(void);
-/* defined by mainboard.c if the mainboard requires extra resources */
-int add_mainboard_resources(struct lb_memory *mem);
-int add_northbridge_resources(struct lb_memory *mem);
-
void fill_lb_gpios(struct lb_gpios *gpios);
#endif /* COREBOOT_TABLE_H */
diff --git a/src/mainboard/advansus/a785e-i/Kconfig b/src/mainboard/advansus/a785e-i/Kconfig
index 7f1d136007..327a84c56a 100644
--- a/src/mainboard/advansus/a785e-i/Kconfig
+++ b/src/mainboard/advansus/a785e-i/Kconfig
@@ -16,7 +16,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_BUS_CONFIG
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/advansus/a785e-i/mainboard.c b/src/mainboard/advansus/a785e-i/mainboard.c
index 356ea1c1b3..27bdbd73ab 100644
--- a/src/mainboard/advansus/a785e-i/mainboard.c
+++ b/src/mainboard/advansus/a785e-i/mainboard.c
@@ -82,11 +82,6 @@ static void a785e_i_enable(device_t dev)
enable_int_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ADVANSUS A785E-I Mainboard")
.enable_dev = a785e_i_enable,
diff --git a/src/mainboard/amd/bimini_fam10/Kconfig b/src/mainboard/amd/bimini_fam10/Kconfig
index 06ed977ef4..e38fc502da 100644
--- a/src/mainboard/amd/bimini_fam10/Kconfig
+++ b/src/mainboard/amd/bimini_fam10/Kconfig
@@ -17,7 +17,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select GENERATE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/amd/bimini_fam10/mainboard.c b/src/mainboard/amd/bimini_fam10/mainboard.c
index aecb0362af..19cb2ba04b 100644
--- a/src/mainboard/amd/bimini_fam10/mainboard.c
+++ b/src/mainboard/amd/bimini_fam10/mainboard.c
@@ -133,11 +133,6 @@ static void bimini_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Bimini Mainboard")
.enable_dev = bimini_enable,
diff --git a/src/mainboard/amd/dbm690t/Kconfig b/src/mainboard/amd/dbm690t/Kconfig
index d1bf72fa0d..9f0afa18ab 100644
--- a/src/mainboard/amd/dbm690t/Kconfig
+++ b/src/mainboard/amd/dbm690t/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_MP_TABLE
select HAVE_PIRQ_TABLE
select HAVE_OPTION_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_BUS_CONFIG
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select BOARD_ROMSIZE_KB_1024
diff --git a/src/mainboard/amd/dbm690t/mainboard.c b/src/mainboard/amd/dbm690t/mainboard.c
index 012187945d..8511eaacda 100644
--- a/src/mainboard/amd/dbm690t/mainboard.c
+++ b/src/mainboard/amd/dbm690t/mainboard.c
@@ -190,11 +190,6 @@ static void dbm690t_enable(device_t dev)
set_thermal_config();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DBM690T Mainboard")
.enable_dev = dbm690t_enable,
diff --git a/src/mainboard/amd/dinar/Kconfig b/src/mainboard/amd/dinar/Kconfig
index c81ccfa358..1c123ec2a1 100644
--- a/src/mainboard/amd/dinar/Kconfig
+++ b/src/mainboard/amd/dinar/Kconfig
@@ -38,7 +38,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select HAVE_ACPI_TABLES
#TODO select HAVE_ACPI_RESUME
diff --git a/src/mainboard/amd/dinar/mainboard.c b/src/mainboard/amd/dinar/mainboard.c
index af70ddc319..5e9e9d71e5 100644
--- a/src/mainboard/amd/dinar/mainboard.c
+++ b/src/mainboard/amd/dinar/mainboard.c
@@ -74,10 +74,6 @@ static void dinar_enable(device_t dev)
printk(BIOS_INFO, "Mainboard Dinar Enable. dev=0x%p\n", dev);
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DINAR Mainboard")
.enable_dev = dinar_enable,
diff --git a/src/mainboard/amd/inagua/Kconfig b/src/mainboard/amd/inagua/Kconfig
index a9c2de4bc7..d2c42f4854 100644
--- a/src/mainboard/amd/inagua/Kconfig
+++ b/src/mainboard/amd/inagua/Kconfig
@@ -31,7 +31,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/amd/inagua/mainboard.c b/src/mainboard/amd/inagua/mainboard.c
index 9099a4da1b..c18e728634 100644
--- a/src/mainboard/amd/inagua/mainboard.c
+++ b/src/mainboard/amd/inagua/mainboard.c
@@ -82,10 +82,6 @@ static void inagua_enable(device_t dev)
set_pcie_dereset();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = inagua_enable,
diff --git a/src/mainboard/amd/mahogany/Kconfig b/src/mainboard/amd/mahogany/Kconfig
index 7c91b7df76..20fc190956 100644
--- a/src/mainboard/amd/mahogany/Kconfig
+++ b/src/mainboard/amd/mahogany/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_MP_TABLE
select HAVE_PIRQ_TABLE
select HAVE_OPTION_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_BUS_CONFIG
select LIFT_BSP_APIC_ID
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
diff --git a/src/mainboard/amd/mahogany/mainboard.c b/src/mainboard/amd/mahogany/mainboard.c
index 66d0d28752..d9a164394b 100644
--- a/src/mainboard/amd/mahogany/mainboard.c
+++ b/src/mainboard/amd/mahogany/mainboard.c
@@ -106,11 +106,6 @@ static void mahogany_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD MAHOGANY Mainboard")
.enable_dev = mahogany_enable,
diff --git a/src/mainboard/amd/mahogany_fam10/Kconfig b/src/mainboard/amd/mahogany_fam10/Kconfig
index 8343fca225..eed5ab2231 100644
--- a/src/mainboard/amd/mahogany_fam10/Kconfig
+++ b/src/mainboard/amd/mahogany_fam10/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/amd/mahogany_fam10/mainboard.c b/src/mainboard/amd/mahogany_fam10/mainboard.c
index d1701fd725..c17ff6a683 100644
--- a/src/mainboard/amd/mahogany_fam10/mainboard.c
+++ b/src/mainboard/amd/mahogany_fam10/mainboard.c
@@ -107,11 +107,6 @@ static void mahogany_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD MAHOGANY Mainboard")
.enable_dev = mahogany_enable,
diff --git a/src/mainboard/amd/parmer/Kconfig b/src/mainboard/amd/parmer/Kconfig
index 3212c44b73..a5a875f147 100644
--- a/src/mainboard/amd/parmer/Kconfig
+++ b/src/mainboard/amd/parmer/Kconfig
@@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_ACPI_RESUME
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
diff --git a/src/mainboard/amd/parmer/mainboard.c b/src/mainboard/amd/parmer/mainboard.c
index 095f02f7f7..0a6772693a 100644
--- a/src/mainboard/amd/parmer/mainboard.c
+++ b/src/mainboard/amd/parmer/mainboard.c
@@ -47,10 +47,6 @@ static void parmer_enable(device_t dev)
#endif
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = parmer_enable,
diff --git a/src/mainboard/amd/persimmon/Kconfig b/src/mainboard/amd/persimmon/Kconfig
index e1f43b1f07..714d1fa57c 100644
--- a/src/mainboard/amd/persimmon/Kconfig
+++ b/src/mainboard/amd/persimmon/Kconfig
@@ -31,7 +31,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_ACPI_RESUME
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
diff --git a/src/mainboard/amd/persimmon/mainboard.c b/src/mainboard/amd/persimmon/mainboard.c
index 3bf05dbc86..079ffef124 100644
--- a/src/mainboard/amd/persimmon/mainboard.c
+++ b/src/mainboard/amd/persimmon/mainboard.c
@@ -66,11 +66,6 @@ static void persimmon_enable(device_t dev)
#endif
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = persimmon_enable,
diff --git a/src/mainboard/amd/pistachio/mainboard.c b/src/mainboard/amd/pistachio/mainboard.c
index 32912f426d..558bbe5d11 100644
--- a/src/mainboard/amd/pistachio/mainboard.c
+++ b/src/mainboard/amd/pistachio/mainboard.c
@@ -259,11 +259,6 @@ static void pistachio_enable(device_t dev)
set_thermal_config();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Pistachio Mainboard")
.enable_dev = pistachio_enable,
diff --git a/src/mainboard/amd/south_station/Kconfig b/src/mainboard/amd/south_station/Kconfig
index c482ab0c3a..19b295bf86 100644
--- a/src/mainboard/amd/south_station/Kconfig
+++ b/src/mainboard/amd/south_station/Kconfig
@@ -31,7 +31,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/amd/south_station/mainboard.c b/src/mainboard/amd/south_station/mainboard.c
index dbfce2bb37..efd56ae425 100644
--- a/src/mainboard/amd/south_station/mainboard.c
+++ b/src/mainboard/amd/south_station/mainboard.c
@@ -82,10 +82,6 @@ static void southstation_enable(device_t dev)
southstation_led_init();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = southstation_enable,
diff --git a/src/mainboard/amd/thatcher/Kconfig b/src/mainboard/amd/thatcher/Kconfig
index 82a154b9b5..c7e7e82dbf 100644
--- a/src/mainboard/amd/thatcher/Kconfig
+++ b/src/mainboard/amd/thatcher/Kconfig
@@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_ACPI_RESUME
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
diff --git a/src/mainboard/amd/thatcher/mainboard.c b/src/mainboard/amd/thatcher/mainboard.c
index b2a01d4835..b52fe30150 100644
--- a/src/mainboard/amd/thatcher/mainboard.c
+++ b/src/mainboard/amd/thatcher/mainboard.c
@@ -64,10 +64,6 @@ static void thatcher_enable(device_t dev)
#endif
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = thatcher_enable,
diff --git a/src/mainboard/amd/tilapia_fam10/Kconfig b/src/mainboard/amd/tilapia_fam10/Kconfig
index 2c29f45f4a..75e22b3639 100644
--- a/src/mainboard/amd/tilapia_fam10/Kconfig
+++ b/src/mainboard/amd/tilapia_fam10/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/amd/tilapia_fam10/mainboard.c b/src/mainboard/amd/tilapia_fam10/mainboard.c
index f6555134e8..b11f10bc19 100644
--- a/src/mainboard/amd/tilapia_fam10/mainboard.c
+++ b/src/mainboard/amd/tilapia_fam10/mainboard.c
@@ -284,11 +284,6 @@ static void tilapia_enable(device_t dev)
set_gpio40_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD TILAPIA Mainboard")
.enable_dev = tilapia_enable,
diff --git a/src/mainboard/amd/torpedo/Kconfig b/src/mainboard/amd/torpedo/Kconfig
index bc4030c037..9be8df2289 100644
--- a/src/mainboard/amd/torpedo/Kconfig
+++ b/src/mainboard/amd/torpedo/Kconfig
@@ -34,7 +34,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/amd/torpedo/mainboard.c b/src/mainboard/amd/torpedo/mainboard.c
index 91e3eadec0..407077e452 100644
--- a/src/mainboard/amd/torpedo/mainboard.c
+++ b/src/mainboard/amd/torpedo/mainboard.c
@@ -58,10 +58,6 @@ static void torpedo_enable(device_t dev)
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable. dev=0x%p\n", dev);
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = torpedo_enable,
diff --git a/src/mainboard/amd/union_station/Kconfig b/src/mainboard/amd/union_station/Kconfig
index e7c2150765..73f48399bf 100644
--- a/src/mainboard/amd/union_station/Kconfig
+++ b/src/mainboard/amd/union_station/Kconfig
@@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/amd/union_station/mainboard.c b/src/mainboard/amd/union_station/mainboard.c
index d8324bca6b..5965e41a26 100644
--- a/src/mainboard/amd/union_station/mainboard.c
+++ b/src/mainboard/amd/union_station/mainboard.c
@@ -55,10 +55,6 @@ static void unionstation_enable(device_t dev)
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = unionstation_enable,
diff --git a/src/mainboard/asrock/939a785gmh/Kconfig b/src/mainboard/asrock/939a785gmh/Kconfig
index 245b845e69..2c23d4547e 100644
--- a/src/mainboard/asrock/939a785gmh/Kconfig
+++ b/src/mainboard/asrock/939a785gmh/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_ACPI_RESUME
select HAVE_MP_TABLE
select HAVE_PIRQ_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_OPTION_TABLE
select HAVE_BUS_CONFIG
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/asrock/939a785gmh/mainboard.c b/src/mainboard/asrock/939a785gmh/mainboard.c
index 7526c6b9b8..952b7356e3 100644
--- a/src/mainboard/asrock/939a785gmh/mainboard.c
+++ b/src/mainboard/asrock/939a785gmh/mainboard.c
@@ -104,11 +104,6 @@ static void mb_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("Asrock 939A785GMH/128M Mainboard")
.enable_dev = mb_enable,
diff --git a/src/mainboard/asrock/e350m1/Kconfig b/src/mainboard/asrock/e350m1/Kconfig
index 6f4ce0f6e8..60de4862d0 100644
--- a/src/mainboard/asrock/e350m1/Kconfig
+++ b/src/mainboard/asrock/e350m1/Kconfig
@@ -32,7 +32,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/asrock/e350m1/mainboard.c b/src/mainboard/asrock/e350m1/mainboard.c
index 9a76cce56a..33f7d6023d 100644
--- a/src/mainboard/asrock/e350m1/mainboard.c
+++ b/src/mainboard/asrock/e350m1/mainboard.c
@@ -54,10 +54,6 @@ static void e350m1_enable(device_t dev)
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = e350m1_enable,
diff --git a/src/mainboard/asus/m2v-mx_se/Kconfig b/src/mainboard/asus/m2v-mx_se/Kconfig
index 72fa803cec..de5511e6bb 100644
--- a/src/mainboard/asus/m2v-mx_se/Kconfig
+++ b/src/mainboard/asus/m2v-mx_se/Kconfig
@@ -36,7 +36,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select RAMINIT_SYSINFO
select VGA
select HAVE_ACPI_RESUME
- select HAVE_MAINBOARD_RESOURCES
select QRANK_DIMM_SUPPORT
select SET_FIDVID
# TODO test on multicore machines and enable if it works:
diff --git a/src/mainboard/asus/m2v-mx_se/mainboard.c b/src/mainboard/asus/m2v-mx_se/mainboard.c
index 5e3c7206da..774a0d3953 100644
--- a/src/mainboard/asus/m2v-mx_se/mainboard.c
+++ b/src/mainboard/asus/m2v-mx_se/mainboard.c
@@ -23,11 +23,6 @@
#include <boot/tables.h>
#include <southbridge/via/k8t890/k8t890.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M2V-MX SE Mainboard")
};
diff --git a/src/mainboard/asus/m5a88-v/Kconfig b/src/mainboard/asus/m5a88-v/Kconfig
index 9cadcde05f..86fe51a264 100644
--- a/src/mainboard/asus/m5a88-v/Kconfig
+++ b/src/mainboard/asus/m5a88-v/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_BUS_CONFIG
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/asus/m5a88-v/mainboard.c b/src/mainboard/asus/m5a88-v/mainboard.c
index bbb14827ac..2c27fa7ead 100644
--- a/src/mainboard/asus/m5a88-v/mainboard.c
+++ b/src/mainboard/asus/m5a88-v/mainboard.c
@@ -83,11 +83,6 @@ static void m5a88pm_v_enable(device_t dev)
enable_int_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M5A88-V Mainboard")
.enable_dev = m5a88pm_v_enable,
diff --git a/src/mainboard/asus/mew-am/Kconfig b/src/mainboard/asus/mew-am/Kconfig
index 68ac160b33..fe90d22235 100644
--- a/src/mainboard/asus/mew-am/Kconfig
+++ b/src/mainboard/asus/mew-am/Kconfig
@@ -28,7 +28,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/asus/mew-am/mainboard.c b/src/mainboard/asus/mew-am/mainboard.c
index 6409dabe0e..4346b5a69e 100644
--- a/src/mainboard/asus/mew-am/mainboard.c
+++ b/src/mainboard/asus/mew-am/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-AM Mainboard")
};
diff --git a/src/mainboard/asus/mew-vm/Kconfig b/src/mainboard/asus/mew-vm/Kconfig
index 4e461923ad..21b7311789 100644
--- a/src/mainboard/asus/mew-vm/Kconfig
+++ b/src/mainboard/asus/mew-vm/Kconfig
@@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/asus/mew-vm/mainboard.c b/src/mainboard/asus/mew-vm/mainboard.c
index 2e43be2087..6fd8d3e7f9 100644
--- a/src/mainboard/asus/mew-vm/mainboard.c
+++ b/src/mainboard/asus/mew-vm/mainboard.c
@@ -1,11 +1,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-VM Mainboard")
};
diff --git a/src/mainboard/avalue/eax-785e/Kconfig b/src/mainboard/avalue/eax-785e/Kconfig
index aabd724ac0..2b4182bc37 100644
--- a/src/mainboard/avalue/eax-785e/Kconfig
+++ b/src/mainboard/avalue/eax-785e/Kconfig
@@ -16,7 +16,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_BUS_CONFIG
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
- select HAVE_MAINBOARD_RESOURCES
select HAVE_HARD_RESET
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
diff --git a/src/mainboard/avalue/eax-785e/mainboard.c b/src/mainboard/avalue/eax-785e/mainboard.c
index 0cc655ebcb..6c14a71002 100644
--- a/src/mainboard/avalue/eax-785e/mainboard.c
+++ b/src/mainboard/avalue/eax-785e/mainboard.c
@@ -82,11 +82,6 @@ static void eax_785e(device_t dev)
enable_int_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = eax_785e,
diff --git a/src/mainboard/ecs/p6iwp-fe/Kconfig b/src/mainboard/ecs/p6iwp-fe/Kconfig
index 7d377f4717..95bd1c54d2 100644
--- a/src/mainboard/ecs/p6iwp-fe/Kconfig
+++ b/src/mainboard/ecs/p6iwp-fe/Kconfig
@@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/ecs/p6iwp-fe/mainboard.c b/src/mainboard/ecs/p6iwp-fe/mainboard.c
index 667ac5e695..d45c8eca3f 100644
--- a/src/mainboard/ecs/p6iwp-fe/mainboard.c
+++ b/src/mainboard/ecs/p6iwp-fe/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("ECS P6IWP-Fe Mainboard")
};
diff --git a/src/mainboard/gigabyte/ma785gm/Kconfig b/src/mainboard/gigabyte/ma785gm/Kconfig
index 0e8011bca0..f4603f811f 100644
--- a/src/mainboard/gigabyte/ma785gm/Kconfig
+++ b/src/mainboard/gigabyte/ma785gm/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/gigabyte/ma785gm/mainboard.c b/src/mainboard/gigabyte/ma785gm/mainboard.c
index c65fbb6cf2..fef1903202 100644
--- a/src/mainboard/gigabyte/ma785gm/mainboard.c
+++ b/src/mainboard/gigabyte/ma785gm/mainboard.c
@@ -144,11 +144,6 @@ static void ma785gm_enable(device_t dev)
set_gpio40_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA785GM-US2H Mainboard")
.enable_dev = ma785gm_enable,
diff --git a/src/mainboard/gigabyte/ma785gmt/Kconfig b/src/mainboard/gigabyte/ma785gmt/Kconfig
index 0605a39bd5..ebe1e57e61 100644
--- a/src/mainboard/gigabyte/ma785gmt/Kconfig
+++ b/src/mainboard/gigabyte/ma785gmt/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/gigabyte/ma785gmt/mainboard.c b/src/mainboard/gigabyte/ma785gmt/mainboard.c
index 3c26c6a287..89e75e7924 100644
--- a/src/mainboard/gigabyte/ma785gmt/mainboard.c
+++ b/src/mainboard/gigabyte/ma785gmt/mainboard.c
@@ -255,11 +255,6 @@ static void ma785gmt_enable(device_t dev)
set_gpio40_gfx();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA785GMT-UD2H Mainboard")
.enable_dev = ma785gmt_enable,
diff --git a/src/mainboard/gigabyte/ma78gm/Kconfig b/src/mainboard/gigabyte/ma78gm/Kconfig
index 1b6966e15a..dcba4afb21 100644
--- a/src/mainboard/gigabyte/ma78gm/Kconfig
+++ b/src/mainboard/gigabyte/ma78gm/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/gigabyte/ma78gm/mainboard.c b/src/mainboard/gigabyte/ma78gm/mainboard.c
index ba9baf4f45..402e586f4a 100644
--- a/src/mainboard/gigabyte/ma78gm/mainboard.c
+++ b/src/mainboard/gigabyte/ma78gm/mainboard.c
@@ -80,11 +80,6 @@ static void ma78gm_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA78GM-US2H")
.enable_dev = ma78gm_enable,
diff --git a/src/mainboard/hp/e_vectra_p2706t/Kconfig b/src/mainboard/hp/e_vectra_p2706t/Kconfig
index 5fab95a2c6..18ff961a4f 100644
--- a/src/mainboard/hp/e_vectra_p2706t/Kconfig
+++ b/src/mainboard/hp/e_vectra_p2706t/Kconfig
@@ -32,7 +32,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/hp/e_vectra_p2706t/mainboard.c b/src/mainboard/hp/e_vectra_p2706t/mainboard.c
index 80e6f617f7..4d2e0ab445 100644
--- a/src/mainboard/hp/e_vectra_p2706t/mainboard.c
+++ b/src/mainboard/hp/e_vectra_p2706t/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("HP e-Vectra P2706T Mainboard")
};
diff --git a/src/mainboard/iei/kino-780am2-fam10/Kconfig b/src/mainboard/iei/kino-780am2-fam10/Kconfig
index 01a242957c..73279bc689 100644
--- a/src/mainboard/iei/kino-780am2-fam10/Kconfig
+++ b/src/mainboard/iei/kino-780am2-fam10/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/iei/kino-780am2-fam10/mainboard.c b/src/mainboard/iei/kino-780am2-fam10/mainboard.c
index 44cbfcd212..75ca17b39e 100644
--- a/src/mainboard/iei/kino-780am2-fam10/mainboard.c
+++ b/src/mainboard/iei/kino-780am2-fam10/mainboard.c
@@ -62,11 +62,6 @@ static void kino_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI Kino-780AM2 Mainboard")
.enable_dev = kino_enable,
diff --git a/src/mainboard/intel/d810e2cb/Kconfig b/src/mainboard/intel/d810e2cb/Kconfig
index 8c6c76b021..0725c58ef7 100644
--- a/src/mainboard/intel/d810e2cb/Kconfig
+++ b/src/mainboard/intel/d810e2cb/Kconfig
@@ -29,7 +29,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select USE_WATCHDOG_ON_BOOT
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/intel/d810e2cb/mainboard.c b/src/mainboard/intel/d810e2cb/mainboard.c
index 8455377473..9db723b490 100644
--- a/src/mainboard/intel/d810e2cb/mainboard.c
+++ b/src/mainboard/intel/d810e2cb/mainboard.c
@@ -20,11 +20,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel D810E2CB Mainboard")
};
diff --git a/src/mainboard/intel/eagleheights/mainboard.c b/src/mainboard/intel/eagleheights/mainboard.c
index d6bc10f618..7b27358530 100644
--- a/src/mainboard/intel/eagleheights/mainboard.c
+++ b/src/mainboard/intel/eagleheights/mainboard.c
@@ -24,11 +24,6 @@
#include <boot/tables.h>
#include <arch/coreboot_tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Eagle Heights Mainboard")
};
diff --git a/src/mainboard/intel/emeraldlake2/Kconfig b/src/mainboard/intel/emeraldlake2/Kconfig
index 873d273e1f..aaca694072 100644
--- a/src/mainboard/intel/emeraldlake2/Kconfig
+++ b/src/mainboard/intel/emeraldlake2/Kconfig
@@ -12,7 +12,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
select HAVE_ACPI_RESUME
- select HAVE_MAINBOARD_RESOURCES
select MMCONF_SUPPORT
select HAVE_SMI_HANDLER
select GFXUMA
diff --git a/src/mainboard/intel/emeraldlake2/mainboard.c b/src/mainboard/intel/emeraldlake2/mainboard.c
index 796f71e4e7..71832e7e88 100644
--- a/src/mainboard/intel/emeraldlake2/mainboard.c
+++ b/src/mainboard/intel/emeraldlake2/mainboard.c
@@ -42,11 +42,6 @@ void mainboard_suspend_resume(void)
outb(0xcb, 0xb2);
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
#if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE
static int int15_handler(struct eregs *regs)
{
diff --git a/src/mainboard/jetway/pa78vm5/Kconfig b/src/mainboard/jetway/pa78vm5/Kconfig
index fa39039f7d..08f4355622 100644
--- a/src/mainboard/jetway/pa78vm5/Kconfig
+++ b/src/mainboard/jetway/pa78vm5/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_OPTION_TABLE
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select LIFT_BSP_APIC_ID
select SERIAL_CPU_INIT
diff --git a/src/mainboard/jetway/pa78vm5/mainboard.c b/src/mainboard/jetway/pa78vm5/mainboard.c
index 3c4d872b34..5b09596e4a 100644
--- a/src/mainboard/jetway/pa78vm5/mainboard.c
+++ b/src/mainboard/jetway/pa78vm5/mainboard.c
@@ -109,11 +109,6 @@ static void pa78vm5_enable(device_t dev)
/* get_ide_dma66(); */
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD PA78VM5 Mainboard")
.enable_dev = pa78vm5_enable,
diff --git a/src/mainboard/kontron/kt690/Kconfig b/src/mainboard/kontron/kt690/Kconfig
index 6a1909fb67..bac8b608b3 100644
--- a/src/mainboard/kontron/kt690/Kconfig
+++ b/src/mainboard/kontron/kt690/Kconfig
@@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_BUS_CONFIG
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
select HAVE_ACPI_TABLES
select BOARD_ROMSIZE_KB_1024
diff --git a/src/mainboard/kontron/kt690/mainboard.c b/src/mainboard/kontron/kt690/mainboard.c
index 4eb638f62d..ebbf45a80a 100644
--- a/src/mainboard/kontron/kt690/mainboard.c
+++ b/src/mainboard/kontron/kt690/mainboard.c
@@ -190,11 +190,6 @@ static void kt690_enable(device_t dev)
set_thermal_config();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("Kontron KT690/mITX Mainboard")
.enable_dev = kt690_enable,
diff --git a/src/mainboard/mitac/6513wu/Kconfig b/src/mainboard/mitac/6513wu/Kconfig
index fac565e97d..f09f54f4ce 100644
--- a/src/mainboard/mitac/6513wu/Kconfig
+++ b/src/mainboard/mitac/6513wu/Kconfig
@@ -28,7 +28,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/mitac/6513wu/mainboard.c b/src/mainboard/mitac/6513wu/mainboard.c
index 04af449c52..3322ef35d5 100644
--- a/src/mainboard/mitac/6513wu/mainboard.c
+++ b/src/mainboard/mitac/6513wu/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("Mitac 6513WU Mainboard")
};
diff --git a/src/mainboard/msi/ms6178/Kconfig b/src/mainboard/msi/ms6178/Kconfig
index 1d45464f50..38ca83059c 100644
--- a/src/mainboard/msi/ms6178/Kconfig
+++ b/src/mainboard/msi/ms6178/Kconfig
@@ -27,7 +27,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/msi/ms6178/mainboard.c b/src/mainboard/msi/ms6178/mainboard.c
index 76c8c04d4a..795d2d39a6 100644
--- a/src/mainboard/msi/ms6178/mainboard.c
+++ b/src/mainboard/msi/ms6178/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("MSI MS-6178 Mainboard")
};
diff --git a/src/mainboard/nec/powermate2000/Kconfig b/src/mainboard/nec/powermate2000/Kconfig
index 55050c0001..8c2070af34 100644
--- a/src/mainboard/nec/powermate2000/Kconfig
+++ b/src/mainboard/nec/powermate2000/Kconfig
@@ -28,7 +28,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select GFXUMA
config MAINBOARD_DIR
diff --git a/src/mainboard/nec/powermate2000/mainboard.c b/src/mainboard/nec/powermate2000/mainboard.c
index 3bbaa11314..40390af735 100644
--- a/src/mainboard/nec/powermate2000/mainboard.c
+++ b/src/mainboard/nec/powermate2000/mainboard.c
@@ -21,11 +21,6 @@
#include <device/device.h>
#include <boot/tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("NEC PowerMate 2000 Mainboard")
};
diff --git a/src/mainboard/rca/rm4100/Kconfig b/src/mainboard/rca/rm4100/Kconfig
index 1e4498a718..5247a8c35e 100644
--- a/src/mainboard/rca/rm4100/Kconfig
+++ b/src/mainboard/rca/rm4100/Kconfig
@@ -10,7 +10,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_1024
- select HAVE_MAINBOARD_RESOURCES
select HAVE_SMI_HANDLER
select GFXUMA
diff --git a/src/mainboard/rca/rm4100/mainboard.c b/src/mainboard/rca/rm4100/mainboard.c
index ff98977280..663e82bb6b 100644
--- a/src/mainboard/rca/rm4100/mainboard.c
+++ b/src/mainboard/rca/rm4100/mainboard.c
@@ -22,11 +22,6 @@
#include <boot/tables.h>
#include <arch/coreboot_tables.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
static void mainboard_init(device_t dev)
{
// TODO Switch parport LEDs again
diff --git a/src/mainboard/samsung/lumpy/Kconfig b/src/mainboard/samsung/lumpy/Kconfig
index 0835012a63..86cb31bc80 100644
--- a/src/mainboard/samsung/lumpy/Kconfig
+++ b/src/mainboard/samsung/lumpy/Kconfig
@@ -12,7 +12,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select GFXUMA
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
- select HAVE_MAINBOARD_RESOURCES
select HAVE_OPTION_TABLE
select HAVE_SMI_HANDLER
select MMCONF_SUPPORT
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index 62d87b6c96..e54b861e0d 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -49,11 +49,6 @@ void mainboard_suspend_resume(void)
send_ec_command(EC_ACPI_ENABLE);
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
#if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE
static int int15_handler(struct eregs *regs)
{
diff --git a/src/mainboard/samsung/stumpy/Kconfig b/src/mainboard/samsung/stumpy/Kconfig
index 18094cff03..f16809fdc1 100644
--- a/src/mainboard/samsung/stumpy/Kconfig
+++ b/src/mainboard/samsung/stumpy/Kconfig
@@ -11,7 +11,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select GFXUMA
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
- select HAVE_MAINBOARD_RESOURCES
select HAVE_OPTION_TABLE
select HAVE_SMI_HANDLER
select MMCONF_SUPPORT
diff --git a/src/mainboard/samsung/stumpy/mainboard.c b/src/mainboard/samsung/stumpy/mainboard.c
index c70673b836..7922fcd7f0 100644
--- a/src/mainboard/samsung/stumpy/mainboard.c
+++ b/src/mainboard/samsung/stumpy/mainboard.c
@@ -42,11 +42,6 @@ void mainboard_suspend_resume(void)
outb(0xcb, 0xb2);
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
#if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE
static int int15_handler(struct eregs *regs)
{
diff --git a/src/mainboard/supermicro/h8qgi/mainboard.c b/src/mainboard/supermicro/h8qgi/mainboard.c
index 1f02c73cc8..c4c9180937 100644
--- a/src/mainboard/supermicro/h8qgi/mainboard.c
+++ b/src/mainboard/supermicro/h8qgi/mainboard.c
@@ -71,13 +71,6 @@ static void h8qgi_enable(device_t dev)
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
}
-#if CONFIG_HAVE_MAINBOARD_RESOURCES
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-#endif
-
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = h8qgi_enable,
diff --git a/src/mainboard/supermicro/h8scm_fam10/mainboard.c b/src/mainboard/supermicro/h8scm_fam10/mainboard.c
index e5a58fe021..e957c96bf6 100644
--- a/src/mainboard/supermicro/h8scm_fam10/mainboard.c
+++ b/src/mainboard/supermicro/h8scm_fam10/mainboard.c
@@ -92,13 +92,6 @@ static void h8scm_enable(device_t dev)
/* get_ide_dma66(); */
}
-#if CONFIG_HAVE_MAINBOARD_RESOURCES
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-#endif
-
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD H8SCM Mainboard")
.enable_dev = h8scm_enable,
diff --git a/src/mainboard/technexion/tim8690/mainboard.c b/src/mainboard/technexion/tim8690/mainboard.c
index 298132b957..87f6147418 100644
--- a/src/mainboard/technexion/tim8690/mainboard.c
+++ b/src/mainboard/technexion/tim8690/mainboard.c
@@ -149,11 +149,6 @@ static void tim8690_enable(device_t dev)
set_thermal_config();
}
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
struct chip_operations mainboard_ops = {
CHIP_NAME("TechNexion TIM-8690 Mainboard")
.enable_dev = tim8690_enable,
diff --git a/src/mainboard/thomson/ip1000/Kconfig b/src/mainboard/thomson/ip1000/Kconfig
index 3bdfb8ed49..f9bbfa53f1 100644
--- a/src/mainboard/thomson/ip1000/Kconfig
+++ b/src/mainboard/thomson/ip1000/Kconfig
@@ -10,7 +10,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select BOARD_ROMSIZE_KB_512
- select HAVE_MAINBOARD_RESOURCES
select HAVE_SMI_HANDLER
select GFXUMA
diff --git a/src/mainboard/thomson/ip1000/mainboard.c b/src/mainboard/thomson/ip1000/mainboard.c
index ae5872d52b..ac06b25bd0 100644
--- a/src/mainboard/thomson/ip1000/mainboard.c
+++ b/src/mainboard/thomson/ip1000/mainboard.c
@@ -28,11 +28,6 @@
#include <arch/coreboot_tables.h>
#include <arch/io.h>
-int add_mainboard_resources(struct lb_memory *mem)
-{
- return 0;
-}
-
// setting the bit disables the led.
#define PARPORT_GPIO_LED_GREEN (1 << 0)
#define PARPORT_GPIO_LED_ORANGE (1 << 1)