[U-Boot-Users] [PATCH] mips: tolerate the MIPS 'CFG_HZ' values in the MHZ range for NAND delays

Scott Wood
2008-05-19T20:43:17Z

Wolfgang Denk wrote:
> In message <4831E28E.5060005@freescale.com> you wrote:
>> if (state == FL_ERASING)
>> timeo = CFG_HZ * 2 / 5;
>> else
>> timeo = CFG_HZ / 50
>>
>> If we have CFG_HZ values that are within a factor of 2 of wrapping
>> around, the platform should probably do some downward scaling (or we
>> should think about 64-bit timestamps)...
>
> Not needed. CFG_HZ == 1000 for all sane ports.
>
> Broken ports should be fixed.

Maybe we should define it in a non-board-specific header, so as to make
the intent clear that it not actually be configurable?

-Scott