From: Tom Rini Date: Sat, 7 Apr 2018 09:25:33 -0400 Subject: [U-Boot] [U-Boot, v1, 1/5] rtc: ds1307: remove redundant code in rtc_reset In-Reply-To: <20180321024037.26393-2-judge.packham@gmail.com> References: <20180321024037.26393-2-judge.packham@gmail.com> Message-ID: <20180407132533.GL10996@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass 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: