]> git.sur5r.net Git - u-boot/commitdiff
spl: add newline in debug output
authorAnatolij Gustschin <agust@denx.de>
Tue, 1 Aug 2017 14:17:12 +0000 (16:17 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 13 Sep 2017 12:27:01 +0000 (08:27 -0400)
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 <agust@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/spl/spl.c

index 8b219ba6908d3ac58688ce483295944372b5f077..ce9819e4db072eed79153879d6322b67d2c08887 100644 (file)
@@ -158,7 +158,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 {
@@ -196,7 +196,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
        }