aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2019-11-13 09:44:49 +0900
committerTom Rini <trini@konsulko.com>2019-12-06 16:44:19 -0500
commit05429b6cf5b3f30f773b8e79fe4cd3688349d7d2 (patch)
tree8704c5672e37dc8c1b8a1130828c5191f9ac63d8 /cmd/Kconfig
parent09030e0361cee79241c0d2c12fd6929de5b64b30 (diff)
downloadu-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.zip
u-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.gz
u-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.bz2
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 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index a2b9e19..bc8318d 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1625,6 +1625,7 @@ config CMD_LED
config CMD_DATE
bool "date"
default y if DM_RTC
+ select LIB_DATE
help
Enable the 'date' command for getting/setting the time/date in RTC
devices.