diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2019-11-13 09:44:49 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-06 16:44:19 -0500 |
commit | 05429b6cf5b3f30f773b8e79fe4cd3688349d7d2 (patch) | |
tree | 8704c5672e37dc8c1b8a1130828c5191f9ac63d8 /cmd | |
parent | 09030e0361cee79241c0d2c12fd6929de5b64b30 (diff) | |
download | u-boot-05429b6cf5b3f30f773b8e79fe4cd3688349d7d2.tar.gz |
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')
-rw-r--r-- | cmd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index a2b9e19bbe..bc8318d7fa 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. |