[U-Boot-Users] bug in cfi_flash error detection
Wolfgang Denk
wd at denx.de
Mon Oct 17 21:55:29 CEST 2005
In message <47F3F98010FF784EBEE6526EAAB078D1C05E04 at 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
More information about the U-Boot
mailing list