Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1414
-gerrit
commit 46d9b54674c65d28d8b0c55828d580d823f76c64 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Thu Aug 2 09:48:38 2012 +0300
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 --- src/Kconfig | 4 ---- src/arch/x86/boot/coreboot_table.c | 4 ---- src/arch/x86/include/arch/coreboot_tables.h | 4 ---- src/mainboard/advansus/a785e-i/Kconfig | 1 - src/mainboard/advansus/a785e-i/mainboard.c | 5 ----- src/mainboard/amd/bimini_fam10/Kconfig | 1 - src/mainboard/amd/bimini_fam10/mainboard.c | 5 ----- src/mainboard/amd/dbm690t/Kconfig | 1 - src/mainboard/amd/dbm690t/mainboard.c | 5 ----- src/mainboard/amd/dinar/Kconfig | 1 - src/mainboard/amd/dinar/mainboard.c | 4 ---- src/mainboard/amd/inagua/Kconfig | 1 - src/mainboard/amd/inagua/mainboard.c | 4 ---- src/mainboard/amd/mahogany/Kconfig | 1 - src/mainboard/amd/mahogany/mainboard.c | 5 ----- src/mainboard/amd/mahogany_fam10/Kconfig | 1 - src/mainboard/amd/mahogany_fam10/mainboard.c | 5 ----- src/mainboard/amd/parmer/Kconfig | 1 - src/mainboard/amd/parmer/mainboard.c | 4 ---- src/mainboard/amd/persimmon/Kconfig | 1 - src/mainboard/amd/persimmon/mainboard.c | 5 ----- src/mainboard/amd/pistachio/mainboard.c | 5 ----- src/mainboard/amd/south_station/Kconfig | 1 - src/mainboard/amd/south_station/mainboard.c | 4 ---- src/mainboard/amd/thatcher/Kconfig | 1 - src/mainboard/amd/thatcher/mainboard.c | 4 ---- src/mainboard/amd/tilapia_fam10/Kconfig | 1 - src/mainboard/amd/tilapia_fam10/mainboard.c | 5 ----- src/mainboard/amd/torpedo/Kconfig | 1 - src/mainboard/amd/torpedo/mainboard.c | 4 ---- src/mainboard/amd/union_station/Kconfig | 1 - src/mainboard/amd/union_station/mainboard.c | 4 ---- src/mainboard/asrock/939a785gmh/Kconfig | 1 - src/mainboard/asrock/939a785gmh/mainboard.c | 5 ----- src/mainboard/asrock/e350m1/Kconfig | 1 - src/mainboard/asrock/e350m1/mainboard.c | 4 ---- src/mainboard/asus/m2v-mx_se/Kconfig | 1 - src/mainboard/asus/m2v-mx_se/mainboard.c | 5 ----- src/mainboard/asus/m5a88-v/Kconfig | 1 - src/mainboard/asus/m5a88-v/mainboard.c | 5 ----- src/mainboard/asus/mew-am/Kconfig | 1 - src/mainboard/asus/mew-am/mainboard.c | 5 ----- src/mainboard/asus/mew-vm/Kconfig | 1 - src/mainboard/asus/mew-vm/mainboard.c | 5 ----- src/mainboard/avalue/eax-785e/Kconfig | 1 - src/mainboard/avalue/eax-785e/mainboard.c | 5 ----- src/mainboard/ecs/p6iwp-fe/Kconfig | 1 - src/mainboard/ecs/p6iwp-fe/mainboard.c | 5 ----- src/mainboard/gigabyte/ma785gm/Kconfig | 1 - src/mainboard/gigabyte/ma785gm/mainboard.c | 5 ----- src/mainboard/gigabyte/ma785gmt/Kconfig | 1 - src/mainboard/gigabyte/ma785gmt/mainboard.c | 5 ----- src/mainboard/gigabyte/ma78gm/Kconfig | 1 - src/mainboard/gigabyte/ma78gm/mainboard.c | 5 ----- src/mainboard/hp/e_vectra_p2706t/Kconfig | 1 - src/mainboard/hp/e_vectra_p2706t/mainboard.c | 5 ----- src/mainboard/iei/kino-780am2-fam10/Kconfig | 1 - src/mainboard/iei/kino-780am2-fam10/mainboard.c | 5 ----- src/mainboard/intel/d810e2cb/Kconfig | 1 - src/mainboard/intel/d810e2cb/mainboard.c | 5 ----- src/mainboard/intel/eagleheights/mainboard.c | 5 ----- src/mainboard/intel/emeraldlake2/Kconfig | 1 - src/mainboard/intel/emeraldlake2/mainboard.c | 5 ----- src/mainboard/jetway/pa78vm5/Kconfig | 1 - src/mainboard/jetway/pa78vm5/mainboard.c | 5 ----- src/mainboard/kontron/kt690/Kconfig | 1 - src/mainboard/kontron/kt690/mainboard.c | 5 ----- src/mainboard/mitac/6513wu/Kconfig | 1 - src/mainboard/mitac/6513wu/mainboard.c | 5 ----- src/mainboard/msi/ms6178/Kconfig | 1 - src/mainboard/msi/ms6178/mainboard.c | 5 ----- src/mainboard/nec/powermate2000/Kconfig | 1 - src/mainboard/nec/powermate2000/mainboard.c | 5 ----- src/mainboard/rca/rm4100/Kconfig | 1 - src/mainboard/rca/rm4100/mainboard.c | 5 ----- src/mainboard/samsung/lumpy/Kconfig | 1 - src/mainboard/samsung/lumpy/mainboard.c | 5 ----- src/mainboard/samsung/stumpy/Kconfig | 1 - src/mainboard/samsung/stumpy/mainboard.c | 5 ----- src/mainboard/supermicro/h8qgi/mainboard.c | 7 ------- src/mainboard/supermicro/h8scm_fam10/mainboard.c | 7 ------- src/mainboard/technexion/tim8690/mainboard.c | 5 ----- src/mainboard/thomson/ip1000/Kconfig | 1 - src/mainboard/thomson/ip1000/mainboard.c | 5 ----- 84 files changed, 0 insertions(+), 261 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig index 3453614..ccf8665 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 5b5834a..9050836 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 b177949..8fc648b 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 7f1d136..327a84c 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 356ea1c..27bdbd7 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 06ed977..e38fc50 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 aecb036..19cb2ba 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 d1bf72f..9f0afa1 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 0121879..8511eaa 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 c81ccfa..1c123ec 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 af70ddc..5e9e9d7 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 a9c2de4..d2c42f4 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 9099a4d..c18e728 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 7c91b7d..20fc190 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 66d0d28..d9a1643 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 8343fca..eed5ab2 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 d1701fd..c17ff6a 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 3212c44..a5a875f 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 095f02f..0a67726 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 e1f43b1..714d1fa 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 3bf05db..079ffef 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 32912f4..558bbe5 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 c482ab0..19b295b 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 dbfce2b..efd56ae 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 82a154b..c7e7e82 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 b2a01d4..b52fe30 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 2c29f45..75e22b3 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 f655513..b11f10b 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 bc4030c..9be8df2 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 91e3ead..407077e 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 e7c2150..73f4839 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 d8324bc..5965e41 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 245b845..2c23d45 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 7526c6b..952b735 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 6f4ce0f..60de486 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 9a76cce..33f7d60 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 72fa803..de5511e 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 5e3c720..774a0d3 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 9cadcde..86fe51a 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 bbb1482..2c27fa7 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 68ac160..fe90d22 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 6409dab..4346b5a 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 4e46192..21b7311 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 2e43be2..6fd8d3e 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 aabd724..2b4182b 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 0cc655e..6c14a71 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 7d377f4..95bd1c5 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 667ac5e..d45c8ec 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 0e8011b..f4603f8 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 c65fbb6..fef1903 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 0605a39..ebe1e57 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 3c26c6a..89e75e7 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 1b6966e..dcba4af 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 ba9baf4..402e586 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 5fab95a..18ff961 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 80e6f61..4d2e0ab 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 01a2429..73279bc 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 44cbfcd..75ca17b 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 8c6c76b..0725c58 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 8455377..9db723b 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 d6bc10f..7b27358 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 873d273..aaca694 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 796f71e..71832e7 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 fa39039..08f4355 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 3c4d872..5b09596 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 6a1909f..bac8b60 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 4eb638f..ebbf45a 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 fac565e..f09f54f 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 04af449..3322ef3 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 1d45464..38ca830 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 76c8c04..795d2d3 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 55050c0..8c2070a 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 3bbaa11..40390af 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 1e4498a..5247a8c 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 ff98977..663e82b 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 0835012..86cb31b 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 62d87b6..e54b861 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 18094cf..f16809f 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 c70673b..7922fcd 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 1f02c73..c4c9180 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 e5a58fe..e957c96 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 298132b..87f6147 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 3bdfb8e..f9bbfa5 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 ae5872d..ac06b25 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)