]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs: handle the fileaddr variable in the same way as in the network case
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>
Fri, 8 Jan 2016 08:39:20 +0000 (09:39 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jan 2016 15:15:48 +0000 (10:15 -0500)
Signed-off-by: David Müller <d.mueller@elsoft.ch>
fs/fs.c

diff --git a/fs/fs.c b/fs/fs.c
index b2d6a532330cb2cc14d77a5490971b6bcebd1d0b..a2f1bf5d464f9abfcd5da40bb10d7c0efa75cdac 100644 (file)
--- 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;