]> git.sur5r.net Git - u-boot/commitdiff
MX27: add missing get_tbclk()
authorStefano Babic <sbabic@denx.de>
Tue, 7 Feb 2012 17:32:56 +0000 (18:32 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:23 +0000 (21:19 +0100)
Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mx27/timer.c

index 5af935976eba26e25c4a14dbee41426ce6f78820..a5dd68425aafd4fc1a6cc14f43b13d278ca23073 100644 (file)
@@ -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;
+}