Add pci_rawops.h from the mailing list and fix the via/epia-m700 build.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4406 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/mainboard/via/epia-m700/cache_as_ram_auto.c b/src/mainboard/via/epia-m700/cache_as_ram_auto.c
index 8a2c8a0..b0d543b 100644
--- a/src/mainboard/via/epia-m700/cache_as_ram_auto.c
+++ b/src/mainboard/via/epia-m700/cache_as_ram_auto.c
@@ -43,7 +43,7 @@
#include "pc80/udelay_io.c"
#include "lib/delay.c"
#if CONFIG_USE_INIT == 0
-#include "lib/memcpy.c"
+#include <string.h>
#endif
#include "cpu/x86/lapic/boot_cpu.c"
@@ -208,21 +208,6 @@
#endif
}
-/* !!FIXME!!
- * This is a bogus definition to get it to compile.
- */
-
-struct VIA_PCI_REG_INIT_TABLE {
- u8 and_val;
- u8 or_val;
- u8 bus;
- u8 dev;
- u8 func;
- u8 reg;
- u8 v1;
- u8 v2;
-};
-
/*
* Added this table 2008-11-28.
* This table contains the value needed to be set before begin to init DRAM.