[U-Boot] [PATCH] nand_base: Add timeout for NAND reset command

Wolfgang Denk wd at denx.de
Wed Feb 4 22:54:49 CET 2009


Dear Scott,

In message <498A0917.8080404 at freescale.com> you wrote:
>
> > get_ticks() not a public interface. It should not be used in any
> > common code.
> 
> Then what is it doing in include/common.h?
> 
> > Please use get_timer().
> 
> But as was pointed out, that depends on interrupts, and thus does not 
> work until very late in the boot process.

I see.

But get_ticks() is an internal interface that may, or may not be
preset. There are architectures where it does not exist.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I ever needed a brain transplant, I'd choose a teenager's  because
I'd want a brain that had never been used.


More information about the U-Boot mailing list