From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 23 May 2011 09:19:18 +0200 Subject: [U-Boot] AT91: CFI support broken In-Reply-To: <4DD66621.2050909@bus-elektronik.de> References: <4DD647B7.2050706@bus-elektronik.de> <4DD65663.1070802@emk-elektronik.de> <4DD66621.2050909@bus-elektronik.de> Message-ID: <201105230919.19134.sr@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 Hi Jens, On Friday 20 May 2011 15:01:21 Jens Scharsig wrote: > >> u-boot/drivers/mtd/cfi_flash.c:576: undefined reference to `reset_timer' > >> > >> I think this patch should be revert, as long as other modules need the > >> reset_timer function. > >> > >> Can anybody confirm this > > > > I think we should fix the place where reset_timer() is still used, to use > > get_timer() only. All other drivers that are used in atmel context do > > not use reset_timer(), but rely on the fact that get_timer() is > > monotonic. reset_timer() resets the value back to zero. > > > > Best Regards, > > Reinhard > > what do you think about? I would welcome it, if somebody would provide a patch to remove the reset_timer() call from the common CFI driver. Best regards, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de