diff mbox

[U-Boot,v2] fs: handle the fileaddr variable in the same way as in the network case

Message ID 1452242360-2142-1-git-send-email-d.mueller@elsoft.ch
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

David Müller (ELSOFT AG) Jan. 8, 2016, 8:39 a.m. UTC
Signed-off-by: David Müller <d.mueller@elsoft.ch>
---
 fs/fs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Jan. 9, 2016, 3:35 a.m. UTC | #1
On Fri, Jan 08, 2016 at 09:39:20AM +0100, David Müller (ELSOFT AG) wrote:

> Signed-off-by: David Müller <d.mueller@elsoft.ch>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/fs/fs.c b/fs/fs.c
index b2d6a53..a2f1bf5 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -427,6 +427,7 @@  int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
 	}
 	puts("\n");
 
+	setenv_hex("fileaddr", addr);
 	setenv_hex("filesize", len_read);
 
 	return 0;