summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Guoyin <guoyin.chen@nxp.com>2016-11-29 10:48:35 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2016-11-29 10:51:55 +0800
commita67272693371f3f365b78e5ae7635e4beed93803 (patch)
tree20424bc9c5f741f27e2a781956d82911c376413b
parentaa2df5879bba61215ebfebbdcdb4c87308f78a8e (diff)
downloaduboot-imx-a67272693371f3f365b78e5ae7635e4beed93803.tar.gz
MA-9073 Make uboot into fastboot mode if failed on normal boot
Execute fastboot command on normal boot failure Change-Id: Idbe6d74b2ba4ace97a44f0659db84c74b1f02b25 Signed-off-by: Chen Guoyin <guoyin.chen@nxp.com>
-rw-r--r--drivers/usb/gadget/f_fastboot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index b2d9d0e1b9..0500920e6c 100644
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -2061,11 +2061,7 @@ fail:
if (avb_out_data != NULL)
avb_slot_verify_data_free(avb_out_data);
-#if defined(CONFIG_FSL_FASTBOOT)
return run_command("fastboot", 0);
-#else
- return -1;
-#endif
}
U_BOOT_CMD(