From e9cdf3b85e966aabc88517225e9a23ec0cc4ea8a Mon Sep 17 00:00:00 2001
From: =?utf8?q?David=20M=C3=BCller=20=28ELSOFT=20AG=29?=
 <d.mueller@elsoft.ch>
Date: Fri, 8 Jan 2016 09:39:20 +0100
Subject: [PATCH] fs: handle the fileaddr variable in the same way as in the
 network case
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: David Müller <d.mueller@elsoft.ch>
---
 fs/fs.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.39.5