Configuration of the loadaddresses for image oftree and initrd can not
be done inside the bootloader spec yet, so using bootloader spec should
not override settings from the environment.

Signed-off-by: Rouven Czerwinski <[email protected]>
---
 common/blspec.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/blspec.c b/common/blspec.c
index 9e1036c834..14c98d4f7b 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -137,9 +137,9 @@ static int blspec_boot(struct bootentry *be, int verbose, 
int dryrun)
        };
 
        globalvar_set_match("linux.bootargs.dyn.", "");
-       globalvar_set_match("bootm.image", "");
-       globalvar_set_match("bootm.oftree", "");
-       globalvar_set_match("bootm.initrd", "");
+       globalvar_set("bootm.image", "");
+       globalvar_set("bootm.oftree", "");
+       globalvar_set("bootm.initrd", "");
 
        bootm_data_init_defaults(&data);
 
-- 
2.28.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to