All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] post: add blackfin to the post_time_ms list
@ 2012-01-08  9:15 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2012-01-08  9:15 UTC (permalink / raw)
  To: u-boot

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

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
-- 
1.7.8.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-08  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-08  9:15 [U-Boot] [PATCH] post: add blackfin to the post_time_ms list Mike Frysinger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.