summaryrefslogtreecommitdiff
path: root/src/console/uart_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/uart_console.c')
-rw-r--r--src/console/uart_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/uart_console.c b/src/console/uart_console.c
index e2cd6a8b81..f5535d72b8 100644
--- a/src/console/uart_console.c
+++ b/src/console/uart_console.c
@@ -43,7 +43,7 @@ static unsigned char uartmem_rx_byte(void)
/* This only relevant with x86 with GDB_STUB enabled.*/
static int uartmem_tst_byte(void)
{
-#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
+#if CONFIG_DRIVERS_UART_8250IO || CONFIG_DRIVERS_UART_8250MEM
return uart_can_rx_byte();
#else
return 0;