summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang sanshan <sanshan.zhang@nxp.com>2017-07-05 18:43:03 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2017-07-10 15:09:13 +0800
commit259db9dccf1dcc57d5af7b097c1f487054ada109 (patch)
tree40efee6a10eb9fdc3fe385b5742602b784f5548f
parent2c1196079eaf31bd8a7bf5a15e1cbf3c6c7902bb (diff)
downloadu-boot-imx-259db9dccf1dcc57d5af7b097c1f487054ada109.zip
u-boot-imx-259db9dccf1dcc57d5af7b097c1f487054ada109.tar.gz
u-boot-imx-259db9dccf1dcc57d5af7b097c1f487054ada109.tar.bz2
MA-9789 [fastboot]System doesn't enter fastboot mode automatically while there is no valid gpt partition
add command "fastboot 0" Change-Id: Ibad6dcab5213d815ac968034aeef5ff5a0be3b1b Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
-rw-r--r--drivers/usb/gadget/f_fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index f7974d9..6021f2d 100644
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -2452,7 +2452,7 @@ fail:
goto use_given_ptn;
}
#elif defined(CONFIG_FSL_FASTBOOT)
- return run_command("fastboot", 0);
+ return run_command("fastboot 0", 0);
#else /*! CONFIG_FSL_FASTBOOT*/
return -1;
#endif /*! CONFIG_FSL_FASTBOOT*/