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>
This commit is contained in:
parent
df0fbc7455
commit
125d7c72a6
|
@ -20,25 +20,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <device/device.h>
|
#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 = {
|
struct chip_operations mainboard_ops = {
|
||||||
CHIP_NAME("VIA EPIA-N Mainboard")
|
CHIP_NAME("VIA EPIA-N Mainboard")
|
||||||
|
|
Loading…
Reference in New Issue