Skip to content
Snippets Groups Projects
Commit 2d2531be authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Tom Rini
Browse files

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: default avatarAnatolij Gustschin <agust@denx.de>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent ba396081
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image, ...@@ -158,7 +158,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
spl_image->load_addr, spl_image->size); spl_image->load_addr, spl_image->size);
#else #else
/* LEGACY image not supported */ /* 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; return -EINVAL;
#endif #endif
} else { } else {
...@@ -196,7 +196,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image, ...@@ -196,7 +196,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
spl_set_header_raw_uboot(spl_image); spl_set_header_raw_uboot(spl_image);
#else #else
/* RAW image not supported, proceed to other boot methods. */ /* 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; return -EINVAL;
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment