summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 03:44:49 +0300
committerTom Rini <trini@konsulko.com>2019-12-07 00:44:19 +0300
commit05429b6cf5b3f30f773b8e79fe4cd3688349d7d2 (patch)
tree8704c5672e37dc8c1b8a1130828c5191f9ac63d8 /drivers/rtc/Kconfig
parent09030e0361cee79241c0d2c12fd6929de5b64b30 (diff)
downloadu-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.xz
rtc: move date.c from drivers/rtc/ to lib/
In the next commit, rtc_mktime(), for compatibility with linux, will be implemented using rtc_mktime(), which is no longer drivers/rtc specific. So move this file under lib/. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 8778cc7b26..89e71cc7eb 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -7,6 +7,7 @@ menu "Real Time Clock"
config DM_RTC
bool "Enable Driver Model for RTC drivers"
depends on DM
+ select LIB_DATE
help
Enable drver model for real-time-clock drivers. The RTC uclass
then provides the rtc_get()/rtc_set() interface, delegating to