projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92372c
)
arm, post: add missing post_time_ms for arm
author
Heiko Schocher
<hs@denx.de>
Wed, 14 Sep 2011 19:34:33 +0000
(19:34 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:30 +0000
(21:56 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
post/post.c
patch
|
blob
|
history
diff --git
a/post/post.c
b/post/post.c
index 636d93fc8bc802cb4217734d3175af4020cd8b45..dc9c0f2cf89068b386645b3b9fb22242f287238d 100644
(file)
--- a/
post/post.c
+++ b/
post/post.c
@@
-500,7
+500,7
@@
void post_reloc(void)
*/
unsigned long post_time_ms(unsigned long base)
{
-#if
def CONFIG_PPC
+#if
defined(CONFIG_PPC) || defined(CONFIG_ARM)
return (unsigned long)(get_ticks() / (get_tbclk() / CONFIG_SYS_HZ))
- base;
#else