[U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

Joe Hershberger joe.hershberger at gmail.com
Tue Jul 10 20:24:39 CEST 2012


Hi Wolfgang,

On Sun, Jul 8, 2012 at 2:58 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Tetsuyuki Kobayashi,
>
> In message <4FE85B87.6090302 at kmckk.co.jp> you wrote:
>> NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000.
>
> Your patch is OK per se, but please note that it is a mandatory
> requirement that CONFIG_SYS_HZ == 1000.  So if you have any board
> where this is not the case, this board needs to be fixed, too.

If that is a hard requirement, then I don't see a point to applying
this patch.  I also don't know why the CONFIG_SYS_HZ variable exists.

Thanks,
-Joe


More information about the U-Boot mailing list