[U-Boot] AT91: CFI support broken

Stefan Roese sr at denx.de
Mon May 23 09:19:18 CEST 2011


Hi Jens,

On Friday 20 May 2011 15:01:21 Jens Scharsig wrote:
> >> u-boot/drivers/mtd/cfi_flash.c:576: undefined reference to `reset_timer'
> >> 
> >> I think this patch should be revert, as long as other modules need the
> >> reset_timer function.
> >> 
> >> Can anybody confirm this
> > 
> > I think we should fix the place where reset_timer() is still used, to use
> > get_timer() only. All other drivers that are used in atmel context do
> > not use reset_timer(), but rely on the fact that get_timer() is
> > monotonic. reset_timer() resets the value back to zero.
> > 
> > Best Regards,
> > Reinhard
> 
> what do you think about?

I would welcome it, if somebody would provide a patch to remove the 
reset_timer() call from the common CFI driver.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list