[U-Boot] [U-Boot, v2, 1/6] drivers: rtc: resolve year 2038 problem in rtc_to_tm

Tom Rini trini at konsulko.com
Fri Jul 20 12:37:47 UTC 2018


On Sat, Jul 07, 2018 at 11:39:11PM +0200, Heinrich Schuchardt wrote:

> Our implementation of rtc_to_tm() cannot handle dates of more than
> 0x7fffffff seconds after 1970-01-01.
> 
> Adopt the Linux kernel implementation.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

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/20180720/697d91f2/attachment.sig>


More information about the U-Boot mailing list