rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git] / post / drivers / rtc.c
index e3da5e6..8b0f463 100644 (file)
  *      nonleap-years.
  */
 
-#ifdef CONFIG_POST
-
 #include <post.h>
 #include <rtc.h>
 
-#if CONFIG_POST & CFG_POST_RTC
+#if CONFIG_POST & CONFIG_SYS_POST_RTC
 
 static int rtc_post_skip (ulong * diff)
 {
@@ -194,5 +192,4 @@ int rtc_post_test (int flags)
        return 0;
 }
 
-#endif /* CONFIG_POST & CFG_POST_RTC */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_RTC */