summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2012-02-07 18:32:56 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:23 +0100
commit63b1e004f50bfd80d2470b55978da2e946f71bf2 (patch)
tree9017036299d8e086388241e262336db40187c26b /arch
parentff250f3ed89bf9119173e2eade77dfc90d7e9d7d (diff)
downloadu-boot-imx-63b1e004f50bfd80d2470b55978da2e946f71bf2.zip
u-boot-imx-63b1e004f50bfd80d2470b55978da2e946f71bf2.tar.gz
u-boot-imx-63b1e004f50bfd80d2470b55978da2e946f71bf2.tar.bz2
MX27: add missing get_tbclk()
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/arm926ejs/mx27/timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx27/timer.c b/arch/arm/cpu/arm926ejs/mx27/timer.c
index 5af9359..a5dd684 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;
+}