diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2020-09-15 08:47:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 14:37:41 +0200 |
commit | 9625c69869076a92e131df78888ef8e5b47846d6 (patch) | |
tree | 9e9b5e2b1608ddf5757ca24533242a0aaa3dbf2e /common/blspec.c | |
parent | 9c83ddc367d1aaccac439cc6c83c6d4467cd7fa8 (diff) | |
download | barebox-9625c69869076a92e131df78888ef8e5b47846d6.tar.gz barebox-9625c69869076a92e131df78888ef8e5b47846d6.tar.xz |
blspec: only reset variable locations, not paths
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 <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
-rw-r--r-- | common/blspec.c | 6 |
1 files 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); |