projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff250f3
)
MX27: add missing get_tbclk()
author
Stefano Babic
<sbabic@denx.de>
Tue, 7 Feb 2012 17:32:56 +0000
(18:32 +0100)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/mx27/timer.c
b/arch/arm/cpu/arm926ejs/mx27/timer.c
index 5af935976eba26e25c4a14dbee41426ce6f78820..a5dd68425aafd4fc1a6cc14f43b13d278ca23073 100644
(file)
--- 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;
+}