summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-07-07 17:54:26 +0000
committerMyles Watson <mylesgw@gmail.com>2009-07-07 17:54:26 +0000
commit42f75c325fec4a3ba026b3819f3aa89149aff658 (patch)
tree38ec847261ca2078f5b3be32d7d6e95c895298ea /src/mainboard/via
parentbf12ddae235f66f9cff430dc997c681eaffb705a (diff)
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
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia-m700/cache_as_ram_auto.c17
1 files changed, 1 insertions, 16 deletions
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 8a2c8a0267..b0d543b01d 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 @@ static void enable_shadow_ram(void)
#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.