summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/mcfrtc.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-07-07 23:39:12 +0200
committerAlexander Graf <agraf@suse.de>2018-07-25 15:00:24 +0200
commit5d889024010e0d2397c2bd3e6dd66e12e9f657d0 (patch)
tree9816ba1c6bad09030645a5fea145b6e85745c4d3 /drivers/rtc/mcfrtc.c
parent62045b0eb43285424712875b92ddc683cd00991e (diff)
downloadu-boot-5d889024010e0d2397c2bd3e6dd66e12e9f657d0.tar.gz
u-boot-5d889024010e0d2397c2bd3e6dd66e12e9f657d0.tar.xz
u-boot-5d889024010e0d2397c2bd3e6dd66e12e9f657d0.zip
rtc: remove CONFIG_CMD_DATE dependency
The EFI subsystem accesses the real time clock and is enabled by default. So we should drop any CONFIG_CMD_DATE dependency from the real time clock drivers. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/rtc/mcfrtc.c')
-rw-r--r--drivers/rtc/mcfrtc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/mcfrtc.c b/drivers/rtc/mcfrtc.c
index 0ac8e4dbc5..e10638ec7d 100644
--- a/drivers/rtc/mcfrtc.c
+++ b/drivers/rtc/mcfrtc.c
@@ -6,8 +6,6 @@
#include <common.h>
-#if defined(CONFIG_CMD_DATE)
-
#include <command.h>
#include <rtc.h>
#include <asm/immap.h>
@@ -104,5 +102,3 @@ void rtc_reset(void)
rtc->cr |= RTC_CR_SWR;
}
-
-#endif /* CONFIG_MCFRTC && CONFIG_CMD_DATE */