aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2020-05-15 07:09:03 +0200
committerTom Rini <trini@konsulko.com>2020-07-08 17:21:46 -0400
commitce6515ecee1fa060a7a4e79eafc8db5f86d259a0 (patch)
tree4a75f3cfd67f421cacd3efe8e2a7814d13fbf400
parentbedbb383e1bf5777386c885950f7fb0a21b0daa2 (diff)
downloadu-boot-ce6515ecee1fa060a7a4e79eafc8db5f86d259a0.zip
u-boot-ce6515ecee1fa060a7a4e79eafc8db5f86d259a0.tar.gz
u-boot-ce6515ecee1fa060a7a4e79eafc8db5f86d259a0.tar.bz2
debug_uart: Add CR before and after announce string
Add linefeeds before and after the announce string. This makes the output easier to read, especially if some text follows the announce message without a specific additional CR. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--include/debug_uart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/debug_uart.h b/include/debug_uart.h
index 4d1c580..714b369 100644
--- a/include/debug_uart.h
+++ b/include/debug_uart.h
@@ -112,7 +112,7 @@ void printhex8(unsigned int value);
void printdec(unsigned int value);
#ifdef CONFIG_DEBUG_UART_ANNOUNCE
-#define _DEBUG_UART_ANNOUNCE printascii("<debug_uart> ");
+#define _DEBUG_UART_ANNOUNCE printascii("\n<debug_uart>\n");
#else
#define _DEBUG_UART_ANNOUNCE
#endif