diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-08-02 09:43:48 +0300 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2012-08-03 12:25:51 +0200 |
commit | 125d7c72a662c8df1d21ee026e3ffbbdb8844b42 (patch) | |
tree | e285a9c0e7af8c7b3dfc3b785dc2e2457b5aaa98 /src | |
parent | df0fbc7455bb7e7a6081c539c9c94d68168e72d6 (diff) |
VIA Epia-N: drop add_mainboard_resources()
The board had HAVE_MAINBOARD_RESOURCES=0 so this was never
called. Drop unnecessary includes too.
Change-Id: Ia7bddf29a16966c052b5cabbb47029299e6dbd12
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1392
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/via/epia-n/mainboard.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mainboard/via/epia-n/mainboard.c b/src/mainboard/via/epia-n/mainboard.c index 0dfbd3c969..528e8914a3 100644 --- a/src/mainboard/via/epia-n/mainboard.c +++ b/src/mainboard/via/epia-n/mainboard.c @@ -20,25 +20,6 @@ */ #include <device/device.h> -#include <device/pci.h> -#include <device/pci_ids.h> -#include <boot/tables.h> -#include <arch/ioapic.h> -#include <southbridge/via/vt8237r/vt8237r.h> -#include <cpu/x86/lapic_def.h> - -int add_mainboard_resources(struct lb_memory *mem) -{ -#if CONFIG_IOAPIC - lb_add_memory_range(mem, LB_MEM_RESERVED, - IO_APIC_ADDR, 0x1000); - lb_add_memory_range(mem, LB_MEM_RESERVED, - LOCAL_APIC_ADDR, 0x1000); - lb_add_memory_range(mem, LB_MEM_RESERVED, - 0xFFFF0000ULL, 0x10000); -#endif - return 0; -} struct chip_operations mainboard_ops = { CHIP_NAME("VIA EPIA-N Mainboard") |