diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-07 23:39:12 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 15:00:24 +0200 |
commit | 5d889024010e0d2397c2bd3e6dd66e12e9f657d0 (patch) | |
tree | 9816ba1c6bad09030645a5fea145b6e85745c4d3 /drivers/rtc/at91sam9_rtt.c | |
parent | 62045b0eb43285424712875b92ddc683cd00991e (diff) |
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/at91sam9_rtt.c')
-rw-r--r-- | drivers/rtc/at91sam9_rtt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/at91sam9_rtt.c b/drivers/rtc/at91sam9_rtt.c index da5bb3e2f7..6f92660ef1 100644 --- a/drivers/rtc/at91sam9_rtt.c +++ b/drivers/rtc/at91sam9_rtt.c @@ -27,8 +27,6 @@ #include <asm/arch/at91_rtt.h> #include <asm/arch/at91_gpbr.h> -#if defined(CONFIG_CMD_DATE) - int rtc_get (struct rtc_time *tmp) { at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT; @@ -78,5 +76,3 @@ void rtc_reset (void) while (readl(&rtt->vr) != 0) ; } - -#endif |