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>
This commit is contained in:
committed by
Tom Rini
parent
09030e0361
commit
05429b6cf5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user