From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 31 May 2012 11:44:07 -0600 Subject: [U-Boot] [PATCH 2/2] tegra: usb: fix wrong error check In-Reply-To: <1338465062-30660-2-git-send-email-dev@lynxeye.de> References: <1338465062-30660-1-git-send-email-dev@lynxeye.de> <1338465062-30660-2-git-send-email-dev@lynxeye.de> Message-ID: <4FC7ADE7.90806@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/31/2012 05:51 AM, Lucas Stach wrote: > loop_count runs down from 10000, so the correct condition to error out > is ==0. > > Signed-off-by: Lucas Stach > Acked-by: Stephen Warren > CC: Stephen Warren > CC: Tom Warren Tested-by: Stephen Warren On Harmony, repeated invocations of "usb start 0 ; dhcp ${loadaddr} zImage.uimg" appeared to work OK, with this patch applied to u-boot-tegra.git master branch.