spl: add newline in debug output
PATCH 1/1 spl: add newline in debug output
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it.
Signed-off-by Anatolij Gustschin <[email protected]>
--- common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
common/spl/spl.c +2 -2
@@ -157,7 +157,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image, spl_image->load_addr, spl_image->size);#else /* LEGACY image not supported */ -debug ("Legacy boot image support not enabled, proceeding to other boot methods" ); +debug ("Legacy boot image support not enabled, proceeding to other boot methods\n" );return -EINVAL ;#endif }else {
@@ -195,7 +195,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image,spl_set_header_raw_uboot (spl_image);#else /* RAW image not supported, proceed to other boot methods. */ -debug ("Raw boot image support not enabled, proceeding to other boot methods" ); +debug ("Raw boot image support not enabled, proceeding to other boot methods\n" );return -EINVAL ;#endif }
Signature · 1 line
1.9.1
PATCH 1/1 spl: add newline in debug output
Quoted 8 lines · Anatolij Gustschin
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it.
Signed-off-by Anatolij Gustschin <[email protected]>--- common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Bin Meng <[email protected]>
Quoted 5 lines · Anatolij Gustschin
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it.
Signed-off-by Anatolij Gustschin <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/a663ddd8/attachment.sig>