From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Meyer Date: Fri, 20 May 2011 13:54:11 +0200 Subject: [U-Boot] AT91: CFI support broken In-Reply-To: <4DD647B7.2050706@bus-elektronik.de> References: <4DD647B7.2050706@bus-elektronik.de> Message-ID: <4DD65663.1070802@emk-elektronik.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 esw at bus-elektronik.de, > Hello, > > since "AT91: fix timer.c - remove reset_timer()" > > > > was commited the arm926ejs/at91 boards can't compile with cfi_flash support: > > 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