[U-Boot] [PATCH 11/14] spl: Add a LF to the loading message

Bin Meng bmeng.cn at gmail.com
Wed Jan 18 12:33:01 CET 2017


SPL prints "Trying to boot from %s" without a LF. Add one to improve
reading on the serial console.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 common/spl/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/spl.c b/common/spl/spl.c
index 8fb8da4..1210da3 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -266,7 +266,7 @@ static int boot_from_devices(struct spl_image_info *spl_image,
 		loader = spl_ll_find_loader(spl_boot_list[i]);
 #if defined(CONFIG_SPL_SERIAL_SUPPORT) && defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
 		if (loader)
-			printf("Trying to boot from %s", loader->name);
+			printf("Trying to boot from %s\n", loader->name);
 		else
 			puts("SPL: Unsupported Boot Device!\n");
 #endif
-- 
2.9.2



More information about the U-Boot mailing list