]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/mpc5xxx.c
rtc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
[karo-tx-uboot.git] / rtc / mpc5xxx.c
index 2053df153f4cb91e069cb9c09d2b60b2f75ca742..7195af0d079c33fd3a7b180354d348b2df229a23 100644 (file)
@@ -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 ...