[U-Boot] [PATCH] vxworks: Make loading vxworks less verbose

Niklaus Giger niklaus.giger at netstal.com
Wed Sep 23 08:22:31 CEST 2009


Newer vxWorks 6.x images have over 20 different C++ segments.
This fills up the output with rarely used information.

Signed-off-by: Niklaus Giger <niklaus.giger at netstal.com>
---
 common/cmd_elf.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/common/cmd_elf.c b/common/cmd_elf.c
index 63f6fe7..bf7dd63 100644
--- a/common/cmd_elf.c
+++ b/common/cmd_elf.c
@@ -286,6 +286,7 @@ unsigned long load_elf_image (unsigned long addr)
 			continue;
 		}
 
+#ifdef DEBUG
 		if (strtab) {
 			debug("%sing %s @ 0x%08lx (%ld bytes)\n",
 				(shdr->sh_type == SHT_NOBITS) ?
@@ -294,6 +295,7 @@ unsigned long load_elf_image (unsigned long addr)
 				(unsigned long) shdr->sh_addr,
 				(long) shdr->sh_size);
 		}
+#endif
 
 		if (shdr->sh_type == SHT_NOBITS) {
 			memset ((void *)shdr->sh_addr, 0, shdr->sh_size);
-- 
1.6.3.3



More information about the U-Boot mailing list