[U-Boot] [PATCH] PXA: Fix missing get_tbclk() breaking vpac boards

Marek Vasut marek.vasut at gmail.com
Mon Feb 27 14:00:06 CET 2012


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
 arch/arm/cpu/pxa/timer.c |    5 +++++
 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;
+}
-- 
1.7.9



More information about the U-Boot mailing list