From 30a14ea2b1a4cf39095385a5a38c5bbc67c6b693 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 27 Feb 2012 13:59:47 +0100 Subject: [PATCH] PXA: Fix missing get_tbclk() breaking vpac boards Signed-off-by: Marek Vasut --- arch/arm/cpu/pxa/timer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/pxa/timer.c b/arch/arm/cpu/pxa/timer.c index b7b0da98a4..a8f7462c1b 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; +} -- 2.39.5