]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/drivers/rtc.c
arm: fixloop(): do not use r8 for relocation
[karo-tx-uboot.git] / post / drivers / rtc.c
index e3da5e64ced488cd7b40d9ea4c8009677e447603..8b0f463b8034fc657af77d040e07ef7f79f6a78d 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 */