On 20 April 2015 at 23:16, Heiko Schocher <h...@denx.de> wrote: > Hello Simon, > > Am 20.04.2015 20:37, schrieb Simon Glass: >> >> Rename this function so that it is clear that it is provided by the RTC. >> Also return an error when it cannot function as expected. This is unlikely >> to occur since it works for dates since 1752 and many RTCs do not support >> such old dates. Still it is better to be accurate. >> >> Signed-off-by: Simon Glass <s...@chromium.org> >> --- >> >> common/image.c | 2 +- >> drivers/rtc/at91sam9_rtt.c | 2 +- >> drivers/rtc/bfin_rtc.c | 2 +- >> drivers/rtc/date.c | 8 ++++++-- >> drivers/rtc/ds1374.c | 2 +- >> drivers/rtc/ftrtc010.c | 2 +- >> drivers/rtc/imxdi.c | 2 +- >> drivers/rtc/mc13xxx-rtc.c | 2 +- >> drivers/rtc/mcfrtc.c | 2 +- >> drivers/rtc/mpc8xx.c | 2 +- >> drivers/rtc/mx27rtc.c | 2 +- >> drivers/rtc/mxsrtc.c | 2 +- >> drivers/rtc/pl031.c | 2 +- >> include/rtc.h | 15 ++++++++++++++- >> net/sntp.c | 2 +- >> post/drivers/rtc.c | 6 +++--- >> 16 files changed, 36 insertions(+), 19 deletions(-) > > > Thanks! > > Acked-by: Heiko Schocher <h...@denx.de>
Applied to u-boot-dm. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot