summaryrefslogtreecommitdiff
path: root/rtc/mpc5xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/mpc5xxx.c')
-rw-r--r--rtc/mpc5xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/mpc5xxx.c b/rtc/mpc5xxx.c
index 2053df1..7195af0 100644
--- a/rtc/mpc5xxx.c
+++ b/rtc/mpc5xxx.c
@@ -32,7 +32,7 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_MPC5200) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_MPC5200) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
/*****************************************************************************
* this structure should be defined in mpc5200.h ...