From patchwork Fri May 15 05:09:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 245838 List-Id: U-Boot discussion From: sr at denx.de (Stefan Roese) Date: Fri, 15 May 2020 07:09:03 +0200 Subject: [PATCH] debug_uart: Add CR before and after announce string Message-ID: <20200515050903.1236-1-sr@denx.de> 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 Reviewed-by: Bin Meng --- include/debug_uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/debug_uart.h b/include/debug_uart.h index 4d1c58075c..714b369e6f 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(" "); +#define _DEBUG_UART_ANNOUNCE printascii("\n\n"); #else #define _DEBUG_UART_ANNOUNCE #endif