Browse Source

fs: handle the fileaddr variable in the same way as in the network case

Signed-off-by: David Müller <d.mueller@elsoft.ch>
David Müller (ELSOFT AG) 8 years ago
parent
commit
e9cdf3b85e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/fs.c

+ 1 - 0
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;