arm, post: add missing post_time_ms for arm
authorHeiko Schocher <hs@denx.de>
Wed, 14 Sep 2011 19:34:33 +0000 (19:34 +0000)
committerAlbert 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

index 636d93fc8bc802cb4217734d3175af4020cd8b45..dc9c0f2cf89068b386645b3b9fb22242f287238d 100644 (file)
@@ -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