diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-08 00:39:12 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 16:00:24 +0300 |
commit | 5d889024010e0d2397c2bd3e6dd66e12e9f657d0 (patch) | |
tree | 9816ba1c6bad09030645a5fea145b6e85745c4d3 /drivers/rtc/m41t60.c | |
parent | 62045b0eb43285424712875b92ddc683cd00991e (diff) | |
download | u-boot-5d889024010e0d2397c2bd3e6dd66e12e9f657d0.tar.xz |
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/m41t60.c')
-rw-r--r-- | drivers/rtc/m41t60.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c index 7846193e26..c84c8e11b3 100644 --- a/drivers/rtc/m41t60.c +++ b/drivers/rtc/m41t60.c @@ -20,8 +20,6 @@ #include <rtc.h> #include <i2c.h> -#if defined(CONFIG_SYS_I2C_RTC_ADDR) && defined(CONFIG_CMD_DATE) - /* * Convert between century and "century bits" (CB1 and CB0). These routines * assume years are in the range 1900 - 2299. @@ -237,4 +235,3 @@ void rtc_reset(void) } rtc_dump("end reset"); } -#endif /* CONFIG_RTC_M41T60 && CONFIG_SYS_I2C_RTC_ADDR && CONFIG_CMD_DATE */ |