]> git.sur5r.net Git - u-boot/blobdiff - post/cpu/mpc8xx/cache.c
fix compile warning for env tools
[u-boot] / post / cpu / mpc8xx / cache.c
index 501465c06a1fc702394e3ed3650a61d69c355876..06cb501bd5d1bbbe186c1deffa67a370038cefac 100644 (file)
  * several test scenarios.
  */
 
-#ifdef CONFIG_POST
-
 #include <post.h>
 #include <watchdog.h>
 
-#if CONFIG_POST & CFG_POST_CACHE
+#if CONFIG_POST & CONFIG_SYS_POST_CACHE
 
 #define CACHE_POST_SIZE        1024
 
@@ -77,5 +75,4 @@ int cache_post_test (int flags)
        return res;
 }
 
-#endif /* CONFIG_POST & CFG_POST_CACHE */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_CACHE */