Commit 8cffb50ab3f1a9a9f28e8f44ffc93a79c7c25ed9
Committed by
Tom Rini
1 parent
323a73adc9
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
rtc: compile date.c if DM_RTC
rtc_to_tm() and rtc_mktime() are required for some RTC drivers, at least PL031. Without this patch, we also need to enable CONFIG_CMD_DATE even if we don't want or need this command. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/rtc/date.c