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/ds1302.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/ds1302.c')
-rw-r--r-- | drivers/rtc/ds1302.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c index 87ddd01916..b94163f748 100644 --- a/drivers/rtc/ds1302.c +++ b/drivers/rtc/ds1302.c @@ -9,8 +9,6 @@ #include <command.h> #include <rtc.h> -#if defined(CONFIG_CMD_DATE) - /* GPP Pins */ #define DATA 0x200 #define SCLK 0x400 @@ -328,5 +326,3 @@ int rtc_set(struct rtc_time *tmp) return 0; } - -#endif |