summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2018-09-05 16:47:42 -0400
committerchrome-bot <chrome-bot@chromium.org>2018-12-20 13:49:39 -0800
commit7bc69df9cdedd661389a3505dba7e377cb3e1e2f (patch)
tree1246d2fbfebed9126e398cad6e864e489140a68a /chip
parentb437f03578e7e19a0ff369fe7ac574ab4414d588 (diff)
downloadchrome-ec-7bc69df9cdedd661389a3505dba7e377cb3e1e2f.tar.gz
kukui: Add initial kukui_scp board for SCP development
Kukui is the first project with Chromium OS EC based SCP. This is an base board to develop SCP functionalities. BRANCH=none BUG=b:114326670 TEST=manual make BOARD=kukui_scp -j Change-Id: I65897d5439e88cebdc6543e5a8e07cd5657303e7 Signed-off-by: Rong Chang <rongchang@chromium.org> Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1208772 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/mt_scp/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/mt_scp/uart.c b/chip/mt_scp/uart.c
index 554a53cc1d..73a284319c 100644
--- a/chip/mt_scp/uart.c
+++ b/chip/mt_scp/uart.c
@@ -58,7 +58,7 @@ void uart_tx_stop(void)
void uart_tx_flush(void)
{
while (!(UART_LSR(UARTN) & UART_LSR_TEMT))
- usleep(uart_wait_us);
+ usleep(UART_WAIT_US);
}
int uart_tx_ready(void)
@@ -76,7 +76,7 @@ int uart_rx_available(void)
void uart_write_char(char c)
{
while (!uart_tx_ready())
- usleep(uart_wait_us);
+ usleep(UART_WAIT_US);
UART_DATA(UARTN) = c;
}