summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-07-14 14:26:20 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:43 +0100
commitb7da43ea2000a4fa8803651589332ea26f928d8c (patch)
tree13599796c154d98fecb164992a4c558e7b54b243 /common
parenta9ccaa1483870d870524995f09eab163e2376a6f (diff)
MLK-10932-3 common: autoboot: need to disconnect with pc for usb boot
For USB boot, eg, mfgtool programming case, some laptops/pcs may not work properly if the board do not disconnect until linux kernel usb driver initialization process, finishes the ROM code connection at u-boot can fix this problem, and this was the original work flow when mfgtool flow was introduced at u-boot. Tested-by: Spring Zhang <b17931@freescale.com> Tested-by: Zhang Sanshan <b51434@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/autoboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index f5184a0114..1c08c08859 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -252,6 +252,7 @@ const char *bootdelay_process(void)
#ifdef is_boot_from_usb
if (is_boot_from_usb()) {
+ disconnect_from_pc();
printf("Boot from USB for mfgtools\n");
bootdelay = 0;
set_default_env("Use default environment for \