commit | d45c1b8cb53433b675b6bd12c06a64b628ce1b92 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Fri Apr 10 01:11:54 2015 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 23 14:56:08 2015 -0400 |
tree | bf206085c642901c54eb7be8d33b4ccda1cd3816 | |
parent | 7c2b52da714100f32213f55ca3fcdaa81c924fb0 [diff] |
rtc: Set valid date after reset Some RTC chips tend to set garbage date after reset. This patch sets the date to 2000-01-01 00:00 immediatelly after the RTC chip reset is issued using the "date reset" command. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@konsulko.com>