diff options
author | fang hui <hui.fang@nxp.com> | 2017-04-27 14:49:52 +0800 |
---|---|---|
committer | fang hui <hui.fang@nxp.com> | 2017-04-27 15:16:19 +0800 |
commit | 4dc1d71d0da1d07913ef91e60f54338db70caa69 (patch) | |
tree | 0861d5b9a9f4c0e7a64c64e882967302eb8e9c3e | |
parent | d5c3a09f7d3476610c2a3d0797fe8d1a619ab4ea (diff) | |
download | u-boot-imx-4dc1d71d0da1d07913ef91e60f54338db70caa69.zip u-boot-imx-4dc1d71d0da1d07913ef91e60f54338db70caa69.tar.gz u-boot-imx-4dc1d71d0da1d07913ef91e60f54338db70caa69.tar.bz2 |
MA-9530-1 [iot] Revet avb in uboot
Revert "MA-9432 set boot slot when avb verified success"
This reverts commit 5f1cf1c789cc3fecd536c330cc31056415e0460d.
Change-Id: I71910edcb4c02ee3614015f7096eaec2c01ea13e
-rwxr-xr-x | drivers/usb/gadget/f_fastboot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 675f85a..9ce2b66 100755 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -2049,9 +2049,7 @@ int do_boota(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { goto fail; } printf(" verify OK, boot '%s%s'\n", avb_loadpart->partition_name, avb_out_data->ab_suffix); - char bootargs_sec[2048]; - sprintf(bootargs_sec, "androidboot.slot_suffix=%s %s", avb_out_data->ab_suffix, avb_out_data->cmdline); - setenv("bootargs_sec", bootargs_sec); + setenv("bootargs_sec", avb_out_data->cmdline); #ifdef CONFIG_SYSTEM_RAMDISK_SUPPORT if(!is_recovery_mode) fastboot_setup_system_boot_args(avb_out_data->ab_suffix); |