diff --git a/post/post.c b/post/post.c
index 636d93fc8bc802cb4217734d3175af4020cd8b45..dc9c0f2cf89068b386645b3b9fb22242f287238d 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