From: Piotr Dymacz Date: Sat, 6 Sep 2014 00:35:30 +0000 (+0200) Subject: Small, cosmetic changes in header print output in mkimage X-Git-Tag: 2014-11-19~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28465358b00e9b2853d43b7b793d76167315aa12;p=oweals%2Fu-boot_mod.git Small, cosmetic changes in header print output in mkimage --- diff --git a/u-boot/tools/mkimage.c b/u-boot/tools/mkimage.c index 9d15a50..4ecda49 100755 --- a/u-boot/tools/mkimage.c +++ b/u-boot/tools/mkimage.c @@ -619,13 +619,13 @@ print_header (image_header_t *hdr) timestamp = (time_t)ntohl(hdr->ih_time); size = ntohl(hdr->ih_size); - printf ("Image Name: %.*s\n", IH_NMLEN, hdr->ih_name); - printf ("Created: %s", ctime(×tamp)); - printf ("Image Type: "); print_type(hdr); - printf ("Data Size: %d Bytes = %.2f kB = %.2f MB\n", + printf (" Image Name: %.*s\n", IH_NMLEN, hdr->ih_name); + printf (" Created: %s", ctime(×tamp)); + printf (" Image Type: "); print_type(hdr); + printf (" Data Size: %d Bytes = %.2f kB = %.2f MB\n", size, (double)size / 1.024e3, (double)size / 1.048576e6 ); - printf ("Load Address: 0x%08X\n", ntohl(hdr->ih_load)); - printf ("Entry Point: 0x%08X\n", ntohl(hdr->ih_ep)); + printf (" Load Address: 0x%08X\n", ntohl(hdr->ih_load)); + printf (" Entry Point: 0x%08X\n", ntohl(hdr->ih_ep)); if (hdr->ih_type == IH_TYPE_MULTI || hdr->ih_type == IH_TYPE_SCRIPT) { int i, ptrs;