summaryrefslogtreecommitdiff
path: root/packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-12-28 13:10:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-12-28 13:10:28 +0000
commitbe3e650d031916b132b4cef9d19e7844cca3440b (patch)
tree96dea5f2866a9c43bee966b9d01753467f19a9a3 /packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
parent518fac47b16e548ace1e23d1bc6f4a38b44670bb (diff)
rename uboot directory for more consistency
Diffstat (limited to 'packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch')
-rw-r--r--packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch b/packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
new file mode 100644
index 0000000000..ff8e9cd6fc
--- /dev/null
+++ b/packages/u-boot/u-boot-mkimage-openmoko-native/ext2load_hex.patch
@@ -0,0 +1,17 @@
+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);
+