]> git.sur5r.net Git - u-boot/blobdiff - post/cpu/mpc8xx/watchdog.c
MIMC200: reduce LCD pixclock
[u-boot] / post / cpu / mpc8xx / watchdog.c
index 48c4282e1dc536d5936687d7ad0329048498041c..da191c232c276a6abca7a3a84112c218bddda749 100644 (file)
  * reboots, on the second iteration the test routine reports a success.
  */
 
-#ifdef CONFIG_POST
-
 #include <post.h>
 #include <watchdog.h>
 
-#if CONFIG_POST & CFG_POST_WATCHDOG
+#if CONFIG_POST & CONFIG_SYS_POST_WATCHDOG
 
 static ulong gettbl (void)
 {
@@ -74,5 +72,4 @@ int watchdog_post_test (int flags)
        }
 }
 
-#endif /* CONFIG_POST & CFG_POST_WATCHDOG */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_WATCHDOG */