summaryrefslogtreecommitdiffstats
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 2053df153f..7195af0d07 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 ...
OpenPOWER on IntegriCloud