From: Simon Schwarz Date: Thu, 15 Mar 2012 04:01:39 +0000 (+0000) Subject: omap/spl: change output of spl_parse_image_header X-Git-Tag: v2012.04-rc1~19^2~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ace73189a5245bc0b20930d83bbe8054911cb253;p=u-boot omap/spl: change output of spl_parse_image_header This only outputs "Assuming u-boot.bin..." if debug is active. Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index 6b54ac7f01..963acb0776 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -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;