Files
poky/meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
Marcin Juszkiewicz 70abc059eb u-boot: import OpenMoko uboot from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3014 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 11:00:19 +00:00

18 lines
621 B
Diff

This patch adds the hex-printing of the file size read by 'ext2load'
Signed-off-by: Harald Welte <laforge@openmoko.org>
Index: u-boot.git/common/cmd_ext2.c
===================================================================
--- u-boot.git.orig/common/cmd_ext2.c 2007-01-02 18:26:17.000000000 +0100
+++ u-boot.git/common/cmd_ext2.c 2007-01-02 18:26:27.000000000 +0100
@@ -279,7 +279,7 @@
/* Loading ok, update default load address */
load_addr = addr;
- printf ("\n%ld bytes read\n", filelen);
+ printf ("\n%ld (0x%lx) bytes read\n", filelen, filelen);
sprintf(buf, "%lX", filelen);
setenv("filesize", buf);