commit | d642b19276cad6856415ce0713fa1d83e8b4a16c | [log] [tgz] |
---|---|---|
author | Heiko Schocher <hs@denx.de> | Wed Sep 14 19:34:33 2011 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Thu Oct 27 21:56:30 2011 +0200 |
tree | 59234c2747756d16464255b2ade2fb93a53163d0 | |
parent | 51ee59163d6d2c608cab226fcf22d10130992cab [diff] |
arm, post: add missing post_time_ms for arm Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
diff --git a/post/post.c b/post/post.c index 636d93f..dc9c0f2 100644 --- a/post/post.c +++ b/post/post.c
@@ -500,7 +500,7 @@ */ unsigned long post_time_ms(unsigned long base) { -#ifdef CONFIG_PPC +#if defined(CONFIG_PPC) || defined(CONFIG_ARM) return (unsigned long)(get_ticks() / (get_tbclk() / CONFIG_SYS_HZ)) - base; #else