From a67272693371f3f365b78e5ae7635e4beed93803 Mon Sep 17 00:00:00 2001 From: Chen Guoyin Date: Tue, 29 Nov 2016 10:48:35 +0800 Subject: 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 --- drivers/usb/gadget/f_fastboot.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index b2d9d0e..0500920 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( -- cgit v1.1