summaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-08-15 15:39:17 -0500
committerJohn Rigby <jrigby@freescale.com>2007-08-16 17:43:19 -0600
commitab77bc547ba561c25ea34457ed17aa0b2f7c2723 (patch)
treec7e9d3c146f22730638ca0c63f1e6f150bb9a6a2 /rtc
parent81735b2568cf634d601c0d4a1bbc3a3882bc8eda (diff)
downloadu-boot-imx-ab77bc547ba561c25ea34457ed17aa0b2f7c2723.zip
u-boot-imx-ab77bc547ba561c25ea34457ed17aa0b2f7c2723.tar.gz
u-boot-imx-ab77bc547ba561c25ea34457ed17aa0b2f7c2723.tar.bz2
ColdFire: MCF5329 Update and cleanup
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'rtc')
-rw-r--r--rtc/mcfrtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/mcfrtc.c b/rtc/mcfrtc.c
index 0be5874..76bb510 100644
--- a/rtc/mcfrtc.c
+++ b/rtc/mcfrtc.c
@@ -28,7 +28,7 @@
#include <asm/immap.h>
#include <asm/rtc.h>
-#if defined(CONFIG_MCFRTC) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
#undef RTC_DEBUG
@@ -118,4 +118,4 @@ void rtc_reset(void)
rtc->cr |= RTC_CR_SWR;
}
-#endif /* CONFIG_MCFRTC && CFG_CMD_DATE */
+#endif /* CONFIG_MCFRTC && CONFIG_CMD_DATE */