X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fpost.c;h=8fef0c34127d2a635cbe83db5895ad1f819ff8a9;hb=0d7f1ae0fe6c0d9af2c0208aab4843ec3fdfaf52;hp=4194edb89e86fe2db008767dd33bd7faf4e32b79;hpb=625509ab0edbb7d943ad9028de3c21ca48aa58be;p=u-boot diff --git a/post/post.c b/post/post.c index 4194edb89e..8fef0c3412 100644 --- a/post/post.c +++ b/post/post.c @@ -180,7 +180,7 @@ static void post_get_env_flags(int *test_flags) int i, j; for (i = 0; i < varnum; i++) { - if (getenv_f(var[i], list, sizeof(list)) <= 0) + if (env_get_f(var[i], list, sizeof(list)) <= 0) continue; for (j = 0; j < post_list_size; j++) @@ -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