aboutsummaryrefslogtreecommitdiff
path: root/board/etin/debris/phantom.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/etin/debris/phantom.c')
-rw-r--r--board/etin/debris/phantom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/etin/debris/phantom.c b/board/etin/debris/phantom.c
index 0b81fc0c3..ab7c3cff1 100644
--- a/board/etin/debris/phantom.c
+++ b/board/etin/debris/phantom.c
@@ -18,7 +18,7 @@
#include <command.h>
#include <rtc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE)
#define RTC_BASE (CFG_NVRAM_BASE_ADDR + 0x7fff8)