summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-01-08 09:39:20 +0100
committerTom Rini <trini@konsulko.com>2016-01-08 10:15:48 -0500
commite9cdf3b85e966aabc88517225e9a23ec0cc4ea8a (patch)
treeb6f92a253a7fc42598a5bdc3a1b541ee65c6fdc4 /fs
parent35729218b857e52aeae75f19b43f7b1a4fba0463 (diff)
fs: handle the fileaddr variable in the same way as in the network case
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs.c b/fs/fs.c
index b2d6a53233..a2f1bf5d46 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;