[U-Boot] [U-Boot, v1, 1/5] rtc: ds1307: remove redundant code in rtc_reset
Tom Rini
trini at konsulko.com
Sat Apr 7 13:25:33 UTC 2018
On Wed, Mar 21, 2018 at 03:40:33PM +1300, Chris Packham wrote:
> As of commit 1a1fa2406689 ("rtc: Set valid date after reset") the
> command "date reset" will set the date/time to 2000-01-01 0:00:00 after
> calling rtc_reset(). This means that the ds1307 implementation of
> rtc_reset() doesn't need to call rtc_set().
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180407/b5c74b8c/attachment.sig>
More information about the U-Boot
mailing list