diff --git a/os/arch/arm/src/amebasmart/amebasmart_serial.c b/os/arch/arm/src/amebasmart/amebasmart_serial.c index f79ca4d87b..33b0b0b81e 100644 --- a/os/arch/arm/src/amebasmart/amebasmart_serial.c +++ b/os/arch/arm/src/amebasmart/amebasmart_serial.c @@ -717,10 +717,11 @@ static void rtl8730e_log_up_rxint(struct uart_dev_s *dev, bool enable) struct rtl8730e_up_dev_s *priv = (struct rtl8730e_up_dev_s *)dev->priv; DEBUGASSERT(priv); priv->rxint_enable = enable; - //if (enable) - //LOGUART_RxCmd(LOGUART_DEV, ENABLE); - //else - //LOGUART_RxCmd(LOGUART_DEV, DISABLE); + if (enable) { + LOGUART_INTConfig(LOGUART_DEV, LOGUART_BIT_ERBI, ENABLE); + } else { + LOGUART_INTConfig(LOGUART_DEV, LOGUART_BIT_ERBI, DISABLE); + } } /**************************************************************************** diff --git a/os/board/rtl8730e/src/rtl8730e_boot.c b/os/board/rtl8730e/src/rtl8730e_boot.c index e2b4c7437f..8ec2291553 100644 --- a/os/board/rtl8730e/src/rtl8730e_boot.c +++ b/os/board/rtl8730e/src/rtl8730e_boot.c @@ -519,10 +519,6 @@ void board_initialize(void) ipc_msg_loguart.rsvd = 0; /* for coverity init issue */ ipc_send_message(IPC_AP_TO_LP, IPC_A2L_DISLOGUART, &ipc_msg_loguart); - /* Tizen: re-enable the LOGUART Rx event interrupt so that CA32 can use it, after KM0 LOGUART is disabled */ - irqstate_t flags = enter_critical_section(); - LOGUART_INTConfig(LOGUART_DEV, LOGUART_BIT_ERBI, ENABLE); - leave_critical_section(flags); } #else #error "CONFIG_BOARD_INITIALIZE MUST ENABLE"