Re: [U-Boot] [PATCH 1/5] imx: Add get_tbclk() function for imx25

2011-07-03 Thread Matthias Weißer
Hi Stefano Am 30.06.2011 17:38, schrieb Stefano Babic: > On 06/30/2011 11:57 AM, Matthias Weisser wrote: >> Need this function for autoboot keyd >> > > Hi Matthias, > >> +/* >> + * This function is derived from PowerPC code (timebase clock frequency). >> + * On ARM it returns the number of timer t

Re: [U-Boot] [PATCH 1/5] imx: Add get_tbclk() function for imx25

2011-06-30 Thread Stefano Babic
On 06/30/2011 11:57 AM, Matthias Weisser wrote: > Need this function for autoboot keyd > Hi Matthias, > +/* > + * This function is derived from PowerPC code (timebase clock frequency). > + * On ARM it returns the number of timer ticks per second. > + */ > +ulong get_tbclk(void) > +{ > + ulon

[U-Boot] [PATCH 1/5] imx: Add get_tbclk() function for imx25

2011-06-30 Thread Matthias Weisser
Need this function for autoboot keyd Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/timer.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/timer.c b/arch/arm/cpu/arm926ejs/mx25/timer.c index 14f0c2d..7c8a71b 1006