summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-07 03:40:37 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-07 03:40:37 +0000
commit8a9268451423da1648a4454aaf3b76c2989ee3b4 (patch)
treed3e232cbf4bc4a27cd80749e5ef1fc21e8a7dd16 /src/mainboard
parent3dfd03f8878679902927748e305643b6000d0e5b (diff)
downloadcoreboot-8a9268451423da1648a4454aaf3b76c2989ee3b4.tar.xz
clean up age old via epia target.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/via/epia-m/romstage.c1
-rw-r--r--src/mainboard/via/epia/romstage.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/via/epia-m/romstage.c b/src/mainboard/via/epia-m/romstage.c
index 0a5ddbc8ae..2da25d72b9 100644
--- a/src/mainboard/via/epia-m/romstage.c
+++ b/src/mainboard/via/epia-m/romstage.c
@@ -78,7 +78,6 @@ static void enable_shadow_ram(void)
static void main(unsigned long bist)
{
- unsigned long x;
device_t dev;
/*
diff --git a/src/mainboard/via/epia/romstage.c b/src/mainboard/via/epia/romstage.c
index 301556ddaf..d8bd7608cf 100644
--- a/src/mainboard/via/epia/romstage.c
+++ b/src/mainboard/via/epia/romstage.c
@@ -13,7 +13,6 @@
#include "cpu/x86/bist.h"
#include "pc80/udelay_io.c"
#include "lib/delay.c"
-#include "cpu/x86/lapic/boot_cpu.c"
#include "lib/debug.c"
#include "southbridge/via/vt8231/vt8231_early_smbus.c"
#include "southbridge/via/vt8231/vt8231_early_serial.c"
@@ -76,10 +75,8 @@ static void enable_shadow_ram(void)
pci_write_config8(dev, 0x63, shadowreg);
}
-static void main(unsigned long bist)
+void main(unsigned long bist)
{
- unsigned long x;
-
if (bist == 0) {
early_mtrr_init();
}