mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Alexander Graf
parent
62045b0eb4
commit
5d88902401
@@ -9,7 +9,6 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/davinci_rtc.h>
|
||||
|
||||
#if defined(CONFIG_CMD_DATE)
|
||||
int rtc_get(struct rtc_time *tmp)
|
||||
{
|
||||
struct davinci_rtc *rtc = (struct davinci_rtc *)DAVINCI_RTC_BASE;
|
||||
@@ -79,4 +78,3 @@ void rtc_reset(void)
|
||||
/* run RTC counter */
|
||||
writel(0x01, &rtc->ctrl);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user