projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a95d89
)
post: add blackfin to the post_time_ms list
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 25 Nov 2011 20:56:30 +0000
(15:56 -0500)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/post/post.c
b/post/post.c
index d62f10aa539eb0f3ce49b207aa0059f076892fc3..8705b12f03833405643d72d70e6ee4204627c1b8 100644
(file)
--- 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