From: Mike Frysinger Date: Fri, 25 Nov 2011 20:56:30 +0000 (-0500) Subject: post: add blackfin to the post_time_ms list X-Git-Tag: v2012.04-rc1~158^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23f1dded5e1fd5141119bc1072c48847c4ba622b;p=u-boot post: add blackfin to the post_time_ms list Signed-off-by: Mike Frysinger --- 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