summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-04 18:33:42 +0000
committerMyles Watson <mylesgw@gmail.com>2010-11-04 18:33:42 +0000
commit305e8861d66b050a3e35133603acce69324349fe (patch)
tree65200fefd5ef737afa253ee76b809ed0d6e1b870 /src/mainboard/via
parent0ae7131f2e65ae1d16d31feeedbb303d6f2e2277 (diff)
downloadcoreboot-305e8861d66b050a3e35133603acce69324349fe.tar.xz
Add a rom_enable() function to via/vt8231 and call it from via/epia/romstage.c
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6018 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/via/epia/romstage.c b/src/mainboard/via/epia/romstage.c
index caab9a2464..be72d1c96b 100644
--- a/src/mainboard/via/epia/romstage.c
+++ b/src/mainboard/via/epia/romstage.c
@@ -15,6 +15,7 @@
#include "lib/debug.c"
#include "southbridge/via/vt8231/vt8231_early_smbus.c"
#include "southbridge/via/vt8231/vt8231_early_serial.c"
+#include "southbridge/via/vt8231/vt8231_enable_rom.c"
static inline int spd_read_byte(unsigned device, unsigned address)
{
@@ -86,6 +87,7 @@ static void main(unsigned long bist)
/* Halt if there was a built in self test failure */
report_bist_failure(bist);
+ vt8231_enable_rom();
enable_mainboard_devices();
enable_smbus();
enable_shadow_ram();