From: George Chan <gchan9...@gmail.com> Old logic wipe bootargs env with cmdline, new logic cater the value by prepending cmdline value to bootargs.
Signed-off-by: George Chan <gchan9...@gmail.com> --- boot/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm.c b/boot/bootm.c index 4bdca22ea8c..d8e0c3527d0 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -1165,7 +1165,7 @@ int bootm_boot_start(ulong addr, const char *cmdline) snprintf(addr_str, sizeof(addr_str), "%lx", addr); - ret = env_set("bootargs", cmdline); + ret = android_image_modify_bootargs_env(cmdline, NULL); if (ret) { printf("Failed to set cmdline\n"); return ret; -- 2.43.0