summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-02-17 15:55:32 -0800
committerBill Richardson <wfrichar@chromium.org>2012-02-17 15:55:32 -0800
commit737fbbd032ef937b37f2e5e833fa52455aa19c64 (patch)
tree81299d711c04775a4793e37bd103b60df4178e53 /common/main.c
parentad7a0d5ae67cd73fe11c92c1964496455490f2c9 (diff)
downloadchrome-ec-737fbbd032ef937b37f2e5e833fa52455aa19c64.tar.gz
Delay enabling UART1 until after LPC bus is enabled.
BUG=none TEST=manual Try it on a bds with no LPC bus. It gets a BusFault without this patch. Change-Id: If3f38df5f7bebaf4c7045a9f48fbe3ac66e8bdbf
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 36c913cabb..7058aad009 100644
--- a/common/main.c
+++ b/common/main.c
@@ -74,6 +74,7 @@ int main(void)
#ifdef CONFIG_LPC
port_80_init();
lpc_init();
+ uart_comx_enable();
#endif
#ifdef CONFIG_PWM
pwm_init();