From: Peter Tyser Date: Thu, 05 Feb 2009 10:33:28 -0600 Subject: [U-Boot] [PATCH] nand_base: Add timeout for NAND reset command In-Reply-To: <20090204215449.421DD8322908@gemini.denx.de> 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> Message-ID: <1233851608.6434.2078.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? Thanks, Peter