summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2012-02-27 13:59:47 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-26 23:09:23 +0200
commit30a14ea2b1a4cf39095385a5a38c5bbc67c6b693 (patch)
tree7c1009778228ebdaf52e707fa22db3524a43b883 /arch/arm/cpu
parent60994b99b6203ffd1e28140f4f7fcaa117c88901 (diff)
downloadu-boot-imx-30a14ea2b1a4cf39095385a5a38c5bbc67c6b693.zip
u-boot-imx-30a14ea2b1a4cf39095385a5a38c5bbc67c6b693.tar.gz
u-boot-imx-30a14ea2b1a4cf39095385a5a38c5bbc67c6b693.tar.bz2
PXA: Fix missing get_tbclk() breaking vpac boards
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/pxa/timer.c5
1 files changed, 5 insertions, 0 deletions
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 @@ void __udelay(unsigned long usec)
while (get_ticks() < tmp) /* loop till event */
/*NOP*/;
}
+
+ulong get_tbclk(void)
+{
+ return TIMER_FREQ_HZ;
+}