post: add blackfin to the post_time_ms list
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
1a95d89f69
commit
23f1dded5e
@ -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…
Reference in New Issue
Block a user