From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sun, 28 Oct 2012 20:54:52 -0400 Subject: [U-Boot] [U-Boot, 2/6] fdt: Limit printed hex in fdt print and list commands In-Reply-To: <20121025205955.GA6338@bill-the-cat> References: <1345235680-16419-2-git-send-email-joe.hershberger@ni.com> <20121025205955.GA6338@bill-the-cat> Message-ID: <508DD3DC.3030608@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tom, Joe, On 10/25/2012 04:59 PM, Tom Rini wrote: > 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 > > 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] Sorry, I should have caught that and the 3/6 warning. :-( I'm tied up with a flight test through Friday (Nov 2) which has been consuming all my available time. Joe, can you look at fixing the warnings? Thanks, gvb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQjdPPAAoJEGOcKeGailWqeSMH/itjpDTCi/dNf3wdDHImpTev r9A7Ygk01eLhPWlLX5sV9+GziO1x1s8Z9mRbpdIBz4NeA5vaB79wS3D2/S06dxh8 DeSlk3U8eo4tNiI9OysDDp5IyxNXEmje4KkOD8snLIeYKV3/1RDPQYzsLrzlGVJ6 dFjPGNHmjLWzMi4kOSR34b6SIl1xPCUtBUgMfMTN6R8S5JLuJKSn/WUUcXtHpras yKYfvs1ULkmMg4aEbKzCWFa/a/JJK+XlxU4XQX2Xd7HSISg0eIoOJSV5khTCG8gR SVCkbF89+XO749a9xL3jyTEz1xMPqFO3KugbnyZGtsOm87VWyuZ/qzR4KdC2rJA= =ox6g -----END PGP SIGNATURE-----