From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 6 Apr 2015 16:58:11 +0200 Subject: [U-Boot] [PATCH] usb: hub: allow pgood_delay to be specified via env In-Reply-To: <1428329107-2294-1-git-send-email-tharvey@gateworks.com> References: <1428329107-2294-1-git-send-email-tharvey@gateworks.com> Message-ID: <201504061658.11313.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, April 06, 2015 at 04:05:07 PM, Tim Harvey wrote: > Some USB devices break the spec and require longer warm-up times. Allow > the usb_pgood_delay env variable to override the calculated time. > > I have encountered this specficically with several different sized/branded > USB sticks with VID:PID 058f:6387 (Alcor Micro Corp. Transcend JetFlash) > where I need to set usb_pgood_delay to 2000ms to make them detectable. > > Signed-off-by: Tim Harvey Hi! this looks like a good idea. I have a hint for improvement -- in case you get a timeout waiting for the device to be detected, maybe the error message should mention that you can try setting this env variable and try again ? Best regards, Marek Vasut