From f31a911fe2ceb59a810b295171da7668a9a87c92 Mon Sep 17 00:00:00 2001
From: Heiko Schocher <hs@denx.de>
Date: Wed, 14 Sep 2011 19:34:33 +0000
Subject: [PATCH] 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>
---
 post/post.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/post/post.c b/post/post.c
index 636d93fc8bc..dc9c0f2cf89 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
-- 
GitLab