diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-19 21:50:09 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-07-28 23:34:27 +0200 |
commit | 6e4d039aaaf87dcc83c743948c6bbcb49739e6a2 (patch) | |
tree | 0b71d95e51412fa015979343279344b48a74b5c3 | |
parent | d7cde2811326731c9453b5880646b50a0b994916 (diff) | |
download | u-boot-6e4d039aaaf87dcc83c743948c6bbcb49739e6a2.tar.gz u-boot-6e4d039aaaf87dcc83c743948c6bbcb49739e6a2.tar.xz u-boot-6e4d039aaaf87dcc83c743948c6bbcb49739e6a2.zip |
x86: minnowmax: Add a environment variable for USB power-on delay
Occasionally it was observed that on Intel MinnowMax board, with a
USB 2.0 device connected to the bottom port, when doing 'usb start'
on the xHCI controller:
scanning bus 0 for devices... cannot reset port 3!?
But neither of the two USB ports is routed to xHCI root port 3.
Adding some debug information shows that xHCI port 3 PORTSC register
mysteriously reports both CCS = 1 and CSC = 1.
This is not seen every time. After increasing the timeout to wait
for power to become stable, the issue is gone. So this indicates
current default USB power-on delay (20ms) might be at a critical
region where power is stable/unstable. U-Boot provides a mechanism
to have a environment variable to override the default one. Add
one for MinnowMax.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | include/configs/minnowmax.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index ae95485993..6ea607df67 100644 --- a/include/configs/minnowmax.h +++ b/include/configs/minnowmax.h @@ -20,7 +20,8 @@ #define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,serial\0" \ "stdout=vidconsole,serial\0" \ - "stderr=vidconsole,serial\0" + "stderr=vidconsole,serial\0" \ + "usb_pgood_delay=40\0" #define CONFIG_SCSI_DEV_LIST \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ |