commit | 454afe7fb1aee94b3218d2e530dd6692c6ebc358 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Mon Feb 27 13:59:47 2012 +0100 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Mon Mar 26 23:09:23 2012 +0200 |
tree | 7c1009778228ebdaf52e707fa22db3524a43b883 | |
parent | 35921a0984e684cd61d74c6bb31264007ef9238b [diff] |
PXA: Fix missing get_tbclk() breaking vpac boards Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
diff --git a/arch/arm/cpu/pxa/timer.c b/arch/arm/cpu/pxa/timer.c index b7b0da9..a8f7462 100644 --- a/arch/arm/cpu/pxa/timer.c +++ b/arch/arm/cpu/pxa/timer.c
@@ -94,3 +94,8 @@ while (get_ticks() < tmp) /* loop till event */ /*NOP*/; } + +ulong get_tbclk(void) +{ + return TIMER_FREQ_HZ; +}