[PATCH 4/4] fastboot: only unset image, not loadaddr
Rouven Czerwinski
r.czerwinski at pengutronix.de
Tue Sep 15 02:47:22 EDT 2020
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 at pengutronix.de>
---
common/fastboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.28.0
More information about the barebox
mailing list