post: add blackfin to the post_time_ms list
authorMike Frysinger <vapier@gentoo.org>
Fri, 25 Nov 2011 20:56:30 +0000 (15:56 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 12 Feb 2012 20:03:25 +0000 (15:03 -0500)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
post/post.c

index d62f10aa539eb0f3ce49b207aa0059f076892fc3..8705b12f03833405643d72d70e6ee4204627c1b8 100644 (file)
@@ -495,7 +495,8 @@ void post_reloc(void)
  */
 unsigned long post_time_ms(unsigned long base)
 {
-#if defined(CONFIG_PPC) || defined(CONFIG_ARM) && !defined(CONFIG_KIRKWOOD)
+#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || \
+    (defined(CONFIG_ARM) && !defined(CONFIG_KIRKWOOD))
        return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ)
                - base;
 #else