diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-25 15:56:30 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-12 15:03:25 -0500 |
commit | 23f1dded5e1fd5141119bc1072c48847c4ba622b (patch) | |
tree | b575242151ec3db3552dbe94870f3397fb2da54d /post | |
parent | 1a95d89f69391207f2a8467ca65f159160aec6ed (diff) | |
download | u-boot-23f1dded5e1fd5141119bc1072c48847c4ba622b.tar.gz |
post: add blackfin to the post_time_ms list
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'post')
-rw-r--r-- | post/post.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/post/post.c b/post/post.c index d62f10aa53..8705b12f03 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 |