diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2020-09-15 08:47:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 14:37:41 +0200 |
commit | 94c0b6c798f619bd45aa1411a2ffedba86cad063 (patch) | |
tree | 88e20dddea5202dbb7d1c91e20cf96b07f597de5 /common | |
parent | c0275ee22a0e52f876034ad60bbabec3beeff181 (diff) | |
download | barebox-94c0b6c798f619bd45aa1411a2ffedba86cad063.tar.gz barebox-94c0b6c798f619bd45aa1411a2ffedba86cad063.tar.xz |
fastboot: only unset image, not loadaddr
In case the board needs to setup the load address of the kernel, don't
overwrite the variable, instead only override the image.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fastboot.c b/common/fastboot.c index 302720c43d..86e7997a0b 100644 --- a/common/fastboot.c +++ b/common/fastboot.c @@ -383,7 +383,7 @@ static void __maybe_unused cb_boot(struct fastboot *fb, const char *opt) fastboot_tx_print(fb, FASTBOOT_MSG_INFO, "Booting kernel..\n"); globalvar_set_match("linux.bootargs.dyn.", ""); - globalvar_set_match("bootm.image", ""); + globalvar_set("bootm.image", ""); data.os_file = fb->tempname; |