X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=post%2Fpost.c;h=8c2c822acbd2c51e6a814f5125ef96fafc8bf253;hb=5b8e76c35ec312a3f73126bd1a2d2c0965b98a9f;hp=4194edb89e86fe2db008767dd33bd7faf4e32b79;hpb=002ad7b87780d80c4636f623d4e9e4cc89734de4;p=oweals%2Fu-boot.git diff --git a/post/post.c b/post/post.c index 4194edb89e..8c2c822acb 100644 --- a/post/post.c +++ b/post/post.c @@ -474,7 +474,7 @@ void post_reloc(void) */ unsigned long post_time_ms(unsigned long base) { -#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || defined(CONFIG_ARM) +#if defined(CONFIG_PPC) || defined(CONFIG_ARM) return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ) - base; #else