aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console/uart.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/console/uart.h b/src/include/console/uart.h
index b074f35157..5c6e679c07 100644
--- a/src/include/console/uart.h
+++ b/src/include/console/uart.h
@@ -87,16 +87,16 @@ static inline void __uart_tx_flush(void) {}
#endif
#if IS_ENABLED(CONFIG_GDB_STUB) && (ENV_ROMSTAGE || ENV_RAMSTAGE)
-#define CONFIG_UART_FOR_GDB CONFIG_UART_FOR_CONSOLE
-static inline void __gdb_hw_init(void) { uart_init(CONFIG_UART_FOR_GDB); }
+#define CONF_UART_FOR_GDB CONFIG_UART_FOR_CONSOLE
+static inline void __gdb_hw_init(void) { uart_init(CONF_UART_FOR_GDB); }
static inline void __gdb_tx_byte(u8 data)
{
- uart_tx_byte(CONFIG_UART_FOR_GDB, data);
+ uart_tx_byte(CONF_UART_FOR_GDB, data);
}
-static inline void __gdb_tx_flush(void) { uart_tx_flush(CONFIG_UART_FOR_GDB); }
+static inline void __gdb_tx_flush(void) { uart_tx_flush(CONF_UART_FOR_GDB); }
static inline u8 __gdb_rx_byte(void)
{
- return uart_rx_byte(CONFIG_UART_FOR_GDB);
+ return uart_rx_byte(CONF_UART_FOR_GDB);
}
#endif