summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-10-23 15:09:58 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-10-23 15:09:58 +0000
commit367e5971646ca221bcff6d6003553d7b223b7333 (patch)
treeb637eaa2f8b23e9b6a452c999ad55d1fada35fb8 /src/mainboard/via
parent88fbae24bc83b46b1a1f2ba88643462053dae5cf (diff)
downloadcoreboot-367e5971646ca221bcff6d6003553d7b223b7333.tar.xz
fixes from SONE
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1228 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia/Config.lb2
-rw-r--r--src/mainboard/via/epia/auto.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb
index a364b8f810..8c7a8e6aee 100644
--- a/src/mainboard/via/epia/Config.lb
+++ b/src/mainboard/via/epia/Config.lb
@@ -140,7 +140,7 @@ makerule ./auto.E
end
makerule ./auto.inc
depends "./auto.E ./romcc"
- action "./romcc -O2 -mcpu=c3 ./auto.E > auto.inc"
+ action "./romcc -O2 -mcpu=c3 ./auto.E "
end
##
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c
index fcb48a8953..df055d978d 100644
--- a/src/mainboard/via/epia/auto.c
+++ b/src/mainboard/via/epia/auto.c
@@ -101,10 +101,11 @@ static void main(void)
outb(5, 0x80);
enable_vt8231_serial();
- enable_mainboard_devices();
+
uart_init();
console_init();
+ enable_mainboard_devices();
enable_smbus();
enable_shadow_ram();
/*