[U-Boot-Users] bug in cfi_flash error detection

Wolfgang Denk
2005-10-17T19:55:29Z

In message <47F3F98010FF784EBEE6526EAAB078D1C05E04@tq-mailsrv.tq-net.de> you wrote:
>
> - Timeout calculation in flash_status_check():
> The function calculates seconds instead of miliseconds.=20
> And on some boards the range of ulong is exceeded in the
> calculation (because CFG_HZ is very big on some boards).

This is a bug with such boards. CFG_HZ should always be set to 1000.
Looking back I have to admit that it was a major design error to
create this variable at all.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's not an optical illusion, it just looks like one. -- Phil White