]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - post/cpu/ppc4xx/watchdog.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / post / cpu / ppc4xx / watchdog.c
index bd4f4c9856b2bf1c43d54e4942dacf44687da400..221adfc1158c04335f7987b5d7e52dc306f2dc29 100644 (file)
  * reboots, on the second iteration the test routine reports a success.
  */
 
-#ifdef CONFIG_POST
-
 #include <post.h>
 
-#if CONFIG_POST & CFG_POST_WATCHDOG
+#if CONFIG_POST & CONFIG_SYS_POST_WATCHDOG
 
 #include <watchdog.h>
 
@@ -67,5 +65,4 @@ int watchdog_post_test (int flags)
        }
 }
 
-#endif /* CONFIG_POST & CFG_POST_WATCHDOG */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_WATCHDOG */