From 84d20d0eb3869d7babaeed7cfbe53f9edad48850 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 15:00:18 -0800 Subject: src/include: Remove spaces before tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following warning detected by checkpatch.pl: WARNING: please, no space before tabs TEST=Build and run on Galileo Gen2 Change-Id: If60a58021d595289722d1d6064bea37b0b0bc039 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18652 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/include/console/early_print.h | 6 +++--- src/include/console/post_codes.h | 4 ++-- src/include/console/uart.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/include/console') diff --git a/src/include/console/early_print.h b/src/include/console/early_print.h index bd125001d9..173b6feb96 100644 --- a/src/include/console/early_print.h +++ b/src/include/console/early_print.h @@ -28,9 +28,9 @@ #define console_log_level(msg_level) (CONFIG_DEFAULT_CONSOLE_LOGLEVEL >= msg_level) #define CALL_CONSOLE_TX(loglevel, tx_func, x) \ - do { \ - if (console_log_level(loglevel)) { \ - tx_func(x); \ + do { \ + if (console_log_level(loglevel)) { \ + tx_func(x); \ console_tx_flush(); \ } \ } while (0) diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h index 9f24199cb7..e1a640cab7 100644 --- a/src/include/console/post_codes.h +++ b/src/include/console/post_codes.h @@ -63,7 +63,7 @@ * * POSTed before ramstage is about to be loaded into memory */ -#define POST_PREPARE_RAMSTAGE 0x11 +#define POST_PREPARE_RAMSTAGE 0x11 /** * \brief Copy/decompression finished; jumping to RAM @@ -341,7 +341,7 @@ * \n * Check the console output to see exactly where the failure occurred. */ -#define POST_DIE 0xff +#define POST_DIE 0xff /* 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); } -- cgit v1.2.3