X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Flib_ppc%2Fcpu.c;h=3793a60c3e0a1e53a4470091654bd184eac69f8d;hb=3adc1fda38a6aacd4aaf3c2c9cc62a1e69e6de17;hp=4ab6d2dc00288f11f2d539c8c40de79c4ac70bd6;hpb=d2995fe39229019c214aaf58b5a686ae8fa9b51e;p=u-boot diff --git a/post/lib_ppc/cpu.c b/post/lib_ppc/cpu.c index 4ab6d2dc00..3793a60c3e 100644 --- a/post/lib_ppc/cpu.c +++ b/post/lib_ppc/cpu.c @@ -32,13 +32,11 @@ * For more details refer to post/cpu/ *.c files. */ -#ifdef CONFIG_POST - #include #include #include -#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 */