Browse Source

post: add blackfin to the post_time_ms list

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
imx_v2013.04_3.5.7_1.0.0_alpha
Mike Frysinger 9 years ago
parent
commit
23f1dded5e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      post/post.c

+ 2
- 1
post/post.c View File

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


Loading…
Cancel
Save