summaryrefslogtreecommitdiff
path: root/recipes/u-boot/files/u-boot-20061030-ext2load_hex.patch
blob: 3cecb7485d8c9989961d167599df4f3d381e2c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);