summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/mew-vm
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-11-11 14:26:03 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-11-11 14:26:03 +0000
commit3b6c527322259d6ae7878411ca26ee6dd9374b3c (patch)
tree9e4b8603e0864aff57aa0642ca4e5e119191904f /src/mainboard/asus/mew-vm
parent779b3e312901d4ef533d5cc13f551bab2823de08 (diff)
downloadcoreboot-3b6c527322259d6ae7878411ca26ee6dd9374b3c.tar.xz
Always enable serial before SMBus (or as early as possible), as the SMBus
enable may do printk()s which result in a 2 minute delay on some boards. Fix this on all boards which currently do smbus_enable() before enabling the serial console. Thanks to Elia Yehuda <z4ziggy@gmail.com> for tracking this bug down. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3742 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/mew-vm')
-rw-r--r--src/mainboard/asus/mew-vm/auto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/mew-vm/auto.c b/src/mainboard/asus/mew-vm/auto.c
index b0874e2069..78f9f48254 100644
--- a/src/mainboard/asus/mew-vm/auto.c
+++ b/src/mainboard/asus/mew-vm/auto.c
@@ -66,12 +66,12 @@ static void main(unsigned long bist)
if (bist == 0)
early_mtrr_init();
- enable_smbus();
-
lpc47b272_enable_serial(SERIAL_DEV, TTYS0_BASE);
uart_init();
console_init();
+ enable_smbus();
+
/* Halt if there was a built in self test failure. */
report_bist_failure(bist);