瀏覽代碼

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) 9 年之前
父節點
當前提交
e9cdf3b85e
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;