[U-Boot] post: add blackfin to the post_time_ms list

Submitted by Mike Frysinger on Jan. 8, 2012, 9:15 a.m.

Details

Message ID 1326014144-26775-1-git-send-email-vapier@gentoo.org
State Accepted
Commit 23f1dded5e1fd5141119bc1072c48847c4ba622b
Headers show

Commit Message

Mike Frysinger Jan. 8, 2012, 9:15 a.m.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 post/post.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/post/post.c b/post/post.c
index d62f10a..8705b12 100644
--- a/post/post.c
+++ b/post/post.c
@@ -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