From patchwork Thu Jan 12 11:18:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 714405 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3tzjvL5F7nz9rxm for ; Thu, 12 Jan 2017 22:19:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b="AzvuhGLi"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9D8F5B38D5; Thu, 12 Jan 2017 12:19:04 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L-_9W4tdcWR5; Thu, 12 Jan 2017 12:19:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 616B0B38AA; Thu, 12 Jan 2017 12:19:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A7177B38AA for ; Thu, 12 Jan 2017 12:18:56 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jIzsMmwXw3G2 for ; Thu, 12 Jan 2017 12:18:54 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by theia.denx.de (Postfix) with ESMTPS id 33684B3897 for ; Thu, 12 Jan 2017 12:18:51 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id c206so15451644wme.0 for ; Thu, 12 Jan 2017 03:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=rswz4Lv/i44PaoAbDwQ/r1LVK7mcEFP+DI/ouyJuLBQ=; b=AzvuhGLi8Xcu+hfgvXtrIwn5zrepF8xBmf5kPuHYtmSu70KIL+lOaxBCwCNZ1G6l0z 5RMmfrg/dEM3RqoVhbuwnaygO3nrJrkVaxh0zpWG3qYUtY7ldYBc5RWafhe6LN12dK7R 4ryfdiCj0N0cWPV1FGOqXnwYoAO/0pwlxfWUrwZXHn9DY8RevG/PU/q7naA7sb5gzlAE j0Zbq2VHCIAeqSwazvRpxWPwKsS1oFEnqdUcENc4OKm/gWBRmeUcRW4wpecUOxvnUmZt jg8UC+p3iCKRs4ujjXsmpLnsXAC6HY/CIJiuRB+9TpiAKIYM3Q1w/BowPj9cl6S6XtGK CA9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rswz4Lv/i44PaoAbDwQ/r1LVK7mcEFP+DI/ouyJuLBQ=; b=C5FS42oHJMHG4K6BsI/g+cAQIqt2FKvP6gq0idIlpGLZqmC1NGguHF/RTKH/NB7DQi YLQpJVkLbcL11ANHhAnoCbSLoaOFZG9h3fTazn/eOlfs8jjcyNeTwvACy3Gr7KWvvcYP 2Pl+spru3s/GHUQEMECUP/F1VdsNlN+t+YKeRKDPOOo7SDKsACpNXCaamIiZ+MECxR9Z KKADA6kPuv3cLVmuD+JasW9dMKzmKylaG7+ea4T3TN+0rmZG2JT9i9gr2AuERPQ79VPz HhZWOl38jcO5c4FrL3xrx9Glw7g06gBLh9ek8uWfET4tMzrYUg9FwGPcnpCfX0OdPdDw Eutw== X-Gm-Message-State: AIkVDXJIgs/1jry/JobaEd+7TZM9ZIR3+YJ67bU0ZQKuDykDg7UmhdBTQDb2x25Pg7pQRw== X-Received: by 10.223.174.207 with SMTP id y73mr6676556wrc.131.1484219930490; Thu, 12 Jan 2017 03:18:50 -0800 (PST) Received: from localhost.localdomain (LMontsouris-657-1-10-89.w90-63.abo.wanadoo.fr. [90.63.251.89]) by smtp.googlemail.com with ESMTPSA id yy7sm13057906wjc.3.2017.01.12.03.18.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 03:18:49 -0800 (PST) From: Gary Bisson To: u-boot@lists.denx.de Date: Thu, 12 Jan 2017 12:18:44 +0100 Message-Id: <20170112111844.25968-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.11.0 Cc: Gary Bisson Subject: [U-Boot] [PATCH] imx: nitrogen6x: fix USB host initialization X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" USB Host scanning has been broken since v2016.05. This is due to all the USB changes that happened between v2016.03 and v2016.05, especially: 2ef117fe4f usb: Remove 200 ms delay in usb_hub_port_connect_change() a22a264ec3 usb: Change power-on / scanning timeout handling So we need to increase the init delay to 2s using the usb_pgood_delay environment variable. Signed-off-by: Gary Bisson --- include/configs/nitrogen6x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index c22fed70a4..72ff5c1eab 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -137,6 +137,7 @@ "fdt_addr=0x18000000\0" \ "boot_fdt=try\0" \ "ip_dyn=yes\0" \ + "usb_pgood_delay=2000\0" \ "mmcdevs=0 1\0" \ "mmcpart=1\0" \ "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ @@ -206,6 +207,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "bootdevs=" CONFIG_DRIVE_TYPES "\0" \ "umsdevs=" CONFIG_UMSDEVS "\0" \ + "usb_pgood_delay=2000\0" \ "console=ttymxc1\0" \ "clearenv=if sf probe || sf probe || sf probe 1 ; then " \ "sf erase 0xc0000 0x2000 && " \