summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/ds164x.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-07-30 16:02:29 -0400
committerTom Rini <trini@konsulko.com>2018-07-30 16:02:29 -0400
commit406fd7e207d3593f150079514a371dccdc651ce7 (patch)
tree005f94b428abc454efd05f56364ee052cb16ac39 /drivers/rtc/ds164x.c
parent3a8c8bffd767abb350010f3892c0029c54cef725 (diff)
parent0b8a88ab6aa24de0ef2bf1e8109409f71e770a8e (diff)
downloadu-boot-406fd7e207d3593f150079514a371dccdc651ce7.tar.gz
u-boot-406fd7e207d3593f150079514a371dccdc651ce7.tar.xz
u-boot-406fd7e207d3593f150079514a371dccdc651ce7.zip
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2018-07-25 Highlights this time: - Many small fixes to improve spec compatibility (found by SCT) - Almost enough to run with sandbox target - GetTime() improvements - Enable EFI_LOADER and HYP entry on ARMv7 with NONSEC=y
Diffstat (limited to 'drivers/rtc/ds164x.c')
-rw-r--r--drivers/rtc/ds164x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/ds164x.c b/drivers/rtc/ds164x.c
index 7ee6214b2b..f8707892e7 100644
--- a/drivers/rtc/ds164x.c
+++ b/drivers/rtc/ds164x.c
@@ -20,8 +20,6 @@
#include <rtc.h>
-#if defined(CONFIG_CMD_DATE)
-
static uchar rtc_read(unsigned int addr );
static void rtc_write(unsigned int addr, uchar val);
@@ -171,5 +169,3 @@ static void rtc_write( unsigned int addr, uchar val )
#endif
*(volatile unsigned char*)(addr) = val;
}
-
-#endif