From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Fri, 5 Mar 2021 17:36:37 +0000 (+0100)
Subject: dfu: newline after updating
X-Git-Tag: v2025.01-rc5-pxa1908~1648^2
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=f8d7e6e941321e40c4afa39635116ca4144c4f29;p=u-boot.git

dfu: newline after updating

Currently output of dfu commands ends on a line with leading hash signs
('#'). The succeeding output should be placed on a new line.

After writing updates via dfu print a new line.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---

diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index ff1859d946..af3975925a 100644
--- a/drivers/dfu/dfu.c
+++ b/drivers/dfu/dfu.c
@@ -735,6 +735,7 @@ int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size)
 	ret = dfu_flush(dfu, NULL, 0, i);
 	if (ret)
 		pr_err("DFU flush failed!");
+	puts("\n");
 
 	return ret;
 }