summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post/post.c2
1 files changed, 1 insertions, 1 deletions
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 @@ void post_reloc(void)
*/
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