On Mon, Mar 05, 2012 at 06:40:36PM -0700, [email protected] wrote: >From: Matt Waddel <[email protected]> > >Added get_ticks() and get_tbclk() routines Hi Matt waddel,
I have posted the fix before: http://patchwork.ozlabs.org/patch/142477/ Liming Wang > >Signed-off-by: Matt Waddel <[email protected]> >--- > board/armltd/vexpress/ca9x4_ct_vxp.c | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c >b/board/armltd/vexpress/ca9x4_ct_vxp.c >index da6f14d..22e5af1 100644 >--- a/board/armltd/vexpress/ca9x4_ct_vxp.c >+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c >@@ -226,3 +226,13 @@ void lowlevel_init(void) > ulong get_board_rev(void){ > return readl((u32 *)SYS_ID); > } >+ >+unsigned long long get_ticks(void) >+{ >+ return get_timer(0); >+} >+ >+ulong get_tbclk(void) >+{ >+ return (ulong)CONFIG_SYS_HZ; >+} >-- >1.7.5.4 > >_______________________________________________ >U-Boot mailing list >[email protected] >http://lists.denx.de/mailman/listinfo/u-boot _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

