]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/lib_ppc/cpu.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / post / lib_ppc / cpu.c
index 4ab6d2dc00288f11f2d539c8c40de79c4ac70bd6..3793a60c3e0a1e53a4470091654bd184eac69f8d 100644 (file)
  * For more details refer to post/cpu/ *.c files.
  */
 
-#ifdef CONFIG_POST
-
 #include <watchdog.h>
 #include <post.h>
 #include <asm/mmu.h>
 
-#if CONFIG_POST & CFG_POST_CPU
+#if CONFIG_POST & CONFIG_SYS_POST_CPU
 
 extern int cpu_post_test_cmp (void);
 extern int cpu_post_test_cmpi (void);
@@ -146,5 +144,4 @@ int cpu_post_test (int flags)
        return ret;
 }
 
-#endif /* CONFIG_POST & CFG_POST_CPU */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_CPU */