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

Wolfgang Denk
2005-10-18T21:51:55Z

In message <47F3F98010FF784EBEE6526EAAB078D1C05E05@tq-mailsrv.tq-net.de> you wrote:
>
> > I think, in flash_status_check() your patch timeout check is not
> > correct. get_timer() returns in msec as well as tout is in msecs. So,
> > they are directly comparable without involving CFG_HZ.
>
> I think this is only true for boards where CFG_HZ is 1000.

Other boards are broken and should be fixed.

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
Totally illogical, there was no chance.
-- Spock, "The Galileo Seven", stardate 2822.3