summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-07-14 14:26:20 +0800
committerPeter Chen <peter.chen@freescale.com>2015-07-14 15:34:59 +0800
commit50eff0eebe9f32cbdc28faf3bd78d72218d15024 (patch)
tree48850ceac79635bee4a08bb8c5ea6192dcad42dd /common
parent140a07c3254ca20768598c05db09bfd9c9029a71 (diff)
downloadu-boot-imx-50eff0eebe9f32cbdc28faf3bd78d72218d15024.zip
u-boot-imx-50eff0eebe9f32cbdc28faf3bd78d72218d15024.tar.gz
u-boot-imx-50eff0eebe9f32cbdc28faf3bd78d72218d15024.tar.bz2
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 f5184a0..1c08c08 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 \