tiva_serial.c: Make this buildable with certain configurations

This commit is contained in:
YAMAMOTO Takashi 2020-02-14 15:27:40 +09:00 committed by Xiang Xiao
parent 3df686e10f
commit f79b47ad25

View File

@ -1322,7 +1322,7 @@ static bool up_txempty(struct uart_dev_s *dev)
*
****************************************************************************/
#ifndef CONFIG_NO_SERIAL_CONSOLE
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void)
{
/* NOTE: All GPIO configuration for the UARTs was performed in
@ -1361,7 +1361,7 @@ void up_earlyserialinit(void)
up_setup(&CONSOLE_DEV);
#endif
}
#endif /* !CONFIG_NO_SERIAL_CONSOLE */
#endif /* !USE_EARLYSERIALINIT */
/****************************************************************************
* Name: up_serialinit