diff options
Diffstat (limited to 'src/include/console/uart.h')
-rw-r--r-- | src/include/console/uart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/uart.h b/src/include/console/uart.h index 2c745dd0d4..45faf0ad6f 100644 --- a/src/include/console/uart.h +++ b/src/include/console/uart.h @@ -70,7 +70,7 @@ static inline void __uart_tx_flush(void) {} #endif #if CONFIG_GDB_STUB && (ENV_ROMSTAGE || ENV_RAMSTAGE) -#define CONFIG_UART_FOR_GDB CONFIG_UART_FOR_CONSOLE +#define CONFIG_UART_FOR_GDB CONFIG_UART_FOR_CONSOLE static inline void __gdb_hw_init(void) { uart_init(CONFIG_UART_FOR_GDB); } static inline void __gdb_tx_byte(u8 data) { uart_tx_byte(CONFIG_UART_FOR_GDB, data); } static inline void __gdb_tx_flush(void) { uart_tx_flush(CONFIG_UART_FOR_GDB); } |