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:
Kyösti Mälkki 2012-08-02 09:48:38 +03:00 committed by Peter Stuge
parent 62673c0290
commit 1c5071d175
84 changed files with 0 additions and 261 deletions

View File

@ -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

View File

@ -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:

View File

@ -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 */

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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:

View File

@ -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")
};

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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")
};

View File

@ -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")
};

View File

@ -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

View File

@ -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)
{

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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,

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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")
};

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)
{

View File

@ -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

View File

@ -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)
{

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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

View File

@ -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)