summaryrefslogtreecommitdiff
path: root/include/uart.h
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 /include/uart.h
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 'include/uart.h')
-rw-r--r--include/uart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uart.h b/include/uart.h
index 334ee624bb..1d43206731 100644
--- a/include/uart.h
+++ b/include/uart.h
@@ -173,6 +173,9 @@ void uart_process(void);
/*****************************************************************************/
/* COMx functions */
+/* Enables comx interrupts */
+void uart_comx_enable(void);
+
/* Returns non-zero if ok to put a character via uart_comx_putc(). */
int uart_comx_putc_ok(void);