From 63b1e004f50bfd80d2470b55978da2e946f71bf2 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Tue, 7 Feb 2012 18:32:56 +0100 Subject: [PATCH] MX27: add missing get_tbclk() Signed-off-by: Stefano Babic --- arch/arm/cpu/arm926ejs/mx27/timer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c index 5af935976e..a5dd68425a 100644 --- a/arch/arm/cpu/arm926ejs/mx27/timer.c +++ b/arch/arm/cpu/arm926ejs/mx27/timer.c @@ -171,3 +171,8 @@ void __udelay(unsigned long usec) while (get_ticks() < tmp) /* loop till event */ /*NOP*/; } + +ulong get_tbclk(void) +{ + return CONFIG_MX27_CLK32; +} -- 2.39.5