diff options
author | Peter Chen <peter.chen@freescale.com> | 2015-07-14 14:26:20 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-02-17 10:53:59 +0100 |
commit | 44c4847e112e7c5560852e7ab92e80ae17ba5379 (patch) | |
tree | 13599796c154d98fecb164992a4c558e7b54b243 | |
parent | c9286d32f9740e607a3cbc5d0568aa71ee96c8a8 (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>
-rw-r--r-- | common/autoboot.c | 1 |
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 \ |