projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0d90e
)
ARM: highbank: add missing get_tbclk
author
Rob Herring
<rob.herring@calxeda.com>
Tue, 21 Feb 2012 12:52:27 +0000
(12:52 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:30:54 +0000
(23:30 +0200)
The get_tbclk function was missing and the recent commit "common: add
possibility for readline_into_buffer timeout" makes it required.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/cpu/armv7/highbank/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/highbank/timer.c
b/arch/arm/cpu/armv7/highbank/timer.c
index d8a02888a2af578e0213a4ea3261658e5833b5ee..d92503f75126f81ac14fde2179e188133681d66c 100644
(file)
--- a/
arch/arm/cpu/armv7/highbank/timer.c
+++ b/
arch/arm/cpu/armv7/highbank/timer.c
@@
-121,3
+121,8
@@
ulong get_timer_masked(void)
{
return tick_to_time(get_ticks());
}
+
+ulong get_tbclk(void)
+{
+ return CONFIG_SYS_HZ;
+}