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>
This commit is contained in:
parent
62673c0290
commit
1c5071d175
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue