projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
T4/serdes: fix the serdes clock frequency
[oweals/u-boot.git]
/
post
/
drivers
/
rtc.c
diff --git
a/post/drivers/rtc.c
b/post/drivers/rtc.c
index e3da5e64ced488cd7b40d9ea4c8009677e447603..8b0f463b8034fc657af77d040e07ef7f79f6a78d 100644
(file)
--- a/
post/drivers/rtc.c
+++ b/
post/drivers/rtc.c
@@
-40,12
+40,10
@@
* nonleap-years.
*/
* nonleap-years.
*/
-#ifdef CONFIG_POST
-
#include <post.h>
#include <rtc.h>
#include <post.h>
#include <rtc.h>
-#if CONFIG_POST & C
FG
_POST_RTC
+#if CONFIG_POST & C
ONFIG_SYS
_POST_RTC
static int rtc_post_skip (ulong * diff)
{
static int rtc_post_skip (ulong * diff)
{
@@
-194,5
+192,4
@@
int rtc_post_test (int flags)
return 0;
}
return 0;
}
-#endif /* CONFIG_POST & CFG_POST_RTC */
-#endif /* CONFIG_POST */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_RTC */