]> git.sur5r.net Git - u-boot/commitdiff
omap/spl: change output of spl_parse_image_header
authorSimon Schwarz <simonschwarzcor@googlemail.com>
Thu, 15 Mar 2012 04:01:39 +0000 (04:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 27 Mar 2012 20:05:28 +0000 (22:05 +0200)
This only outputs "Assuming u-boot.bin..." if debug is active.

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
CC: Tom Rini <tom.rini@gmail.com>
CC: Stefano Babic <sbabic@denx.de>
CC: Wolfgang Denk <wd@denx.de>
arch/arm/cpu/armv7/omap-common/spl.c

index 6b54ac7f018efe6c419f4acd54db2d14fd06ed80..963acb077611760a9e63b34e096f0ef39d444317 100644 (file)
@@ -101,7 +101,7 @@ void spl_parse_image_header(const struct image_header *header)
                /* Signature not found - assume u-boot.bin */
                printf("mkimage signature not found - ih_magic = %x\n",
                        header->ih_magic);
-               puts("Assuming u-boot.bin ..\n");
+               debug("Assuming u-boot.bin ..\n");
                /* Let's assume U-Boot will not be more than 200 KB */
                spl_image.size = 200 * 1024;
                spl_image.entry_point = CONFIG_SYS_TEXT_BASE;