From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 05 Feb 2009 10:37:36 -0600 Subject: [U-Boot] [PATCH] nand_base: Add timeout for NAND reset command In-Reply-To: <1233851608.6434.2078.camel@localhost.localdomain> References: <1233776842-23379-1-git-send-email-ptyser@xes-inc.com> <4989F25A.6090400@freescale.com> <1233778972.7067.261.camel@localhost.localdomain> <4989FE57.80404@freescale.com> <20090204212253.27C538322908@gemini.denx.de> <498A0917.8080404@freescale.com> <20090204215449.421DD8322908@gemini.denx.de> <1233851608.6434.2078.camel@localhost.localdomain> Message-ID: <498B15D0.7080209@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Peter Tyser wrote: > Hi Scott, > > On Wed, 2009-02-04 at 22:54 +0100, Wolfgang Denk wrote: >> Dear Scott, >> >> In message <498A0917.8080404@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? Yes, I'll apply it. -Scott