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/1392
-gerrit
commit ea09f9b62ad0fe5f0a40e1bf6c76fd411c6794fa Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Thu Aug 2 09:43:48 2012 +0300
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 --- 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 0dfbd3c..528e891 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")