post: add blackfin to the post_time_ms list
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -495,7 +495,8 @@ void post_reloc(void)
|
|||||||
*/
|
*/
|
||||||
unsigned long post_time_ms(unsigned long base)
|
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)
|
return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ)
|
||||||
- base;
|
- base;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user