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

Wolfgang Denk wd at denx.de
Tue Oct 18 23:51:55 CEST 2005


In message <47F3F98010FF784EBEE6526EAAB078D1C05E05 at 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




More information about the U-Boot mailing list