From: Wolfgang Denk Date: Wed, 04 Feb 2009 22:54:49 +0100 Subject: [U-Boot] [PATCH] nand_base: Add timeout for NAND reset command In-Reply-To: <498A0917.8080404@freescale.com> 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> Message-ID: <20090204215449.421DD8322908@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. 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.