summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
new file mode 100644
index 0000000000..ff8e9cd6fc
--- /dev/null
+++ b/meta/packages/uboot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
@@ -0,0 +1,17 @@
1This patch adds the hex-printing of the file size read by 'ext2load'
2
3Signed-off-by: Harald Welte <laforge@openmoko.org>
4
5Index: u-boot.git/common/cmd_ext2.c
6===================================================================
7--- u-boot.git.orig/common/cmd_ext2.c 2007-01-02 18:26:17.000000000 +0100
8+++ u-boot.git/common/cmd_ext2.c 2007-01-02 18:26:27.000000000 +0100
9@@ -279,7 +279,7 @@
10 /* Loading ok, update default load address */
11 load_addr = addr;
12
13- printf ("\n%ld bytes read\n", filelen);
14+ printf ("\n%ld (0x%lx) bytes read\n", filelen, filelen);
15 sprintf(buf, "%lX", filelen);
16 setenv("filesize", buf);
17