diff options
Diffstat (limited to 'post/lib_powerpc/cpu.c')
-rw-r--r-- | post/lib_powerpc/cpu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/post/lib_powerpc/cpu.c b/post/lib_powerpc/cpu.c index 109be38e166..8506fd6b715 100644 --- a/post/lib_powerpc/cpu.c +++ b/post/lib_powerpc/cpu.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <cpu_func.h> /* * CPU test @@ -57,12 +58,12 @@ ulong cpu_post_makecr (long v) int cpu_post_test (int flags) { - int ic = icache_status (); + int ic = icache_status(); int ret = 0; WATCHDOG_RESET(); if (ic) - icache_disable (); + icache_disable(); if (ret == 0) ret = cpu_post_test_cmp (); @@ -110,7 +111,7 @@ int cpu_post_test (int flags) WATCHDOG_RESET(); if (ic) - icache_enable (); + icache_enable(); WATCHDOG_RESET(); |