Less verbose output when loading vxworks 6.x images
authorNiklaus Giger <niklaus.giger@member.fsf.org>
Thu, 23 Jul 2009 21:31:58 +0000 (23:31 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 26 Jul 2009 22:15:53 +0000 (00:15 +0200)
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>
common/cmd_elf.c

index abec7dd..63f6fe7 100644 (file)
@@ -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],