Re: [U-Boot] [PATCH v3 1/3] rtc: compile date.c if DM_RTC

2018-07-11 Thread Heinrich Schuchardt
On 07/11/2018 11:06 AM, AKASHI Takahiro wrote: > 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 Reviewed-by: Heinrich Sch

[U-Boot] [PATCH v3 1/3] rtc: compile date.c if DM_RTC

2018-07-11 Thread AKASHI Takahiro
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 --- drivers/rtc/date.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) di