From: Niklaus Giger <niklaus.giger@member.fsf.org>
Date: Thu, 23 Jul 2009 21:31:58 +0000 (+0200)
Subject: Less verbose output when loading vxworks 6.x images
X-Git-Tag: v2025.01-rc5-pxa1908~21004
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B?a=commitdiff_plain;h=3c972849f2becbf19c13a24f090d293f37ecf616;p=u-boot.git

Less verbose output when loading vxworks 6.x images

Loading vxWorks 5.x images resulted just into 3 or 4 lines of output.
With vxWorks 6.x and the new GCC it emits about 30 lines, which is
far too noisy in my opinion.

Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org>
---

diff --git a/common/cmd_elf.c b/common/cmd_elf.c
index abec7ddc9a..63f6fe7a1f 100644
--- a/common/cmd_elf.c
+++ b/common/cmd_elf.c
@@ -287,7 +287,7 @@ unsigned long load_elf_image (unsigned long addr)
 		}
 
 		if (strtab) {
-			printf ("%sing %s @ 0x%08lx (%ld bytes)\n",
+			debug("%sing %s @ 0x%08lx (%ld bytes)\n",
 				(shdr->sh_type == SHT_NOBITS) ?
 					"Clear" : "Load",
 				&strtab[shdr->sh_name],