All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] debug_uart: Add CR before and after announce string
@ 2020-05-15  5:09 Stefan Roese
  2020-05-15  5:59 ` Bin Meng
  2020-07-09  0:22 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Roese @ 2020-05-15  5:09 UTC (permalink / raw)
  To: u-boot

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>
---
 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("<debug_uart> ");
+#define _DEBUG_UART_ANNOUNCE	printascii("\n<debug_uart>\n");
 #else
 #define _DEBUG_UART_ANNOUNCE
 #endif
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] debug_uart: Add CR before and after announce string
  2020-05-15  5:09 [PATCH] debug_uart: Add CR before and after announce string Stefan Roese
@ 2020-05-15  5:59 ` Bin Meng
  2020-07-09  0:22 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Bin Meng @ 2020-05-15  5:59 UTC (permalink / raw)
  To: u-boot

On Fri, May 15, 2020 at 1:09 PM Stefan Roese <sr@denx.de> wrote:
>
> 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>
> ---
>  include/debug_uart.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] debug_uart: Add CR before and after announce string
  2020-05-15  5:09 [PATCH] debug_uart: Add CR before and after announce string Stefan Roese
  2020-05-15  5:59 ` Bin Meng
@ 2020-07-09  0:22 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2020-07-09  0:22 UTC (permalink / raw)
  To: u-boot

On Fri, May 15, 2020 at 07:09:03AM +0200, Stefan Roese wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200708/ebbf1ab0/attachment.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-09  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15  5:09 [PATCH] debug_uart: Add CR before and after announce string Stefan Roese
2020-05-15  5:59 ` Bin Meng
2020-07-09  0:22 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.