[U-Boot] [U-Boot, 2/6] fdt: Limit printed hex in fdt print and list commands

Tom Rini trini at ti.com
Thu Oct 25 22:59:55 CEST 2012


On Fri, Aug 17, 2012 at 10:34:36AM -0000, Joe Hershberger wrote:

> Prevent printing the entire image in a itb. It is most likely unhelpful
> to have the hex of the entire image scroll for minutes on your slow
> serial console.
> 
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>

This causes:
$ uboot-build.sh sandboxTesting sandbox on -00004-gf0a29d4
Thu Oct 25 13:59:03 MST 2012
Configuring for sandbox board...
   text    data     bss     dec     hex filename
 140245    6332   28472  175049   2abc9 sandbox/u-boot
cmd_fdt.c: In function 'print_data':
cmd_fdt.c:679:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cmd_fdt.c:691:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121025/2b654459/attachment.pgp>


More information about the U-Boot mailing list