[U-Boot] [PATCH 2/2] tegra: usb: fix wrong error check

Stephen Warren swarren at wwwdotorg.org
Thu May 31 19:44:07 CEST 2012


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 <dev at lynxeye.de>
> Acked-by: Stephen Warren <swarren at wwwdotorg.org>
> CC: Stephen Warren <swarren at wwwdotorg.org>
> CC: Tom Warren <twarren.nvidia at gmail.com>

Tested-by: Stephen Warren <swarren at wwwdotorg.org>

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.


More information about the U-Boot mailing list