[U-Boot] [PATCH] nand_base: Add timeout for NAND reset command
Peter Tyser
ptyser at xes-inc.com
Thu Feb 5 17:33:28 CET 2009
Hi Scott,
On Wed, 2009-02-04 at 22:54 +0100, Wolfgang Denk wrote:
> 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.
Since get_ticks() and get_timer() are not available, is the patch (hokey
as it is) acceptable?
Thanks,
Peter
More information about the U-Boot
mailing list