From 7bc69df9cdedd661389a3505dba7e377cb3e1e2f Mon Sep 17 00:00:00 2001 From: Rong Chang Date: Wed, 5 Sep 2018 16:47:42 -0400 Subject: 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 Signed-off-by: Yilun Lin Reviewed-on: https://chromium-review.googlesource.com/1208772 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Yilun Lin Reviewed-by: Yilun Lin Reviewed-by: Nicolas Boichat --- chip/mt_scp/uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chip') 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; } -- cgit v1.2.1