From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Thompson Date: Thu, 09 Dec 2010 09:36:13 +0000 Subject: [U-Boot] [PATCH v2] davinci: Rewrite timer.c to use tbl/tbu emulation variables in gd In-Reply-To: <4D00A246.7040805@ge.com> References: <4D00A246.7040805@ge.com> Message-ID: <4D00A30D.8020900@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/12/10 09:32, Nick Thompson wrote: > This change allows the davinci timer functions to be used before > relocation since it avoids using static variables prior to BSS being > made available. > > The code is based on that used in the at91 timers, modified to use > a davinci specific hardware timer. It also maintains reset_timer() > to allow deprecated timer usage to continue to work (for example, > in nand_base.c) > > Signed-off-by: Nick Thompson Also: Tested-by: Ben Gardiner Tested-by: Sudhakar Rajashekhara (see: v1 patch @ http://patchwork.ozlabs.org/patch/73973/) Nick.