summaryrefslogtreecommitdiff
path: root/packages/uboot/files/u-boot-20061030-ext2load_hex.patch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-02-15 06:36:07 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-02-15 06:36:07 +0000
commit154641298d7cb2c336bc6a5a38e51d9f7e14abc2 (patch)
tree98bc3958b1f6473ff24001701b608f0a86c556a8 /packages/uboot/files/u-boot-20061030-ext2load_hex.patch
parentd761c689e1a013a698f5b032cb95d516c7ba22da (diff)
parent1c4bf67a97a157e0d7cf5756f29f78bac1139a57 (diff)
merge of '0c4f9a61dfdb0b3267c7794453ccf15dbc4e600c'
and 'd99679b234416670dd8c8e3c87704e7479b4a1e2'
Diffstat (limited to 'packages/uboot/files/u-boot-20061030-ext2load_hex.patch')
-rw-r--r--packages/uboot/files/u-boot-20061030-ext2load_hex.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/uboot/files/u-boot-20061030-ext2load_hex.patch b/packages/uboot/files/u-boot-20061030-ext2load_hex.patch
new file mode 100644
index 0000000000..3cecb7485d
--- /dev/null
+++ b/packages/uboot/files/u-boot-20061030-ext2load_hex.patch
@@ -0,0 +1,14 @@
+This patch adds the hex-printing of the file size read by 'ext2load'
+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);
+