Alec Berg
3dffafac68
stm32f0: fix handling of RTC alarm 24 hour rollover
...
Fix bug in RTC module for stm32f0 in which it doesn't handle the
24 hour rollover appropriately and can cause a watchdog reset
if in deep sleep during rollover.
BUG=chrome-os-partner:36920
BRANCH=samus
TEST=add line to rtc_init()
STM32_RTC_TR = 0x00235952
This initializes RTC clock to 8 seconds before rollover. Using samus
make sure unit is allowed to go to deep sleep (S3/S5 and not charging)
and see that without this CL we watchdog most of the time, and with
this CL we don't watchdog ever.
Change-Id: I3f4b4b1ab7b2be1d4e344477d5eaaa0dc916773a
Signed-off-by: Alec Berg <alecaberg@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/251852
Reviewed-by: Alexandru Stan <amstan@chromium.org >
2015-02-22 01:45:29 +00:00
..
2014-03-20 23:51:28 +00:00
2014-10-08 05:07:20 +00:00
2014-10-07 20:58:52 +00:00
2015-02-21 09:19:57 +00:00
2013-12-20 05:07:58 +00:00
2015-01-08 00:37:46 +00:00
2015-02-22 01:45:29 +00:00
2014-10-07 20:58:52 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2014-12-29 22:27:42 +00:00
2014-11-15 06:00:02 +00:00
2014-12-15 22:46:21 +00:00
2013-07-18 16:47:00 -07:00
2013-08-02 17:32:26 -07:00
2014-11-11 21:46:10 +00:00
2014-11-11 21:46:10 +00:00
2014-11-11 21:46:10 +00:00
2014-11-11 21:46:10 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2015-01-14 03:16:02 +00:00
2014-10-15 23:56:27 +00:00
2014-10-07 20:58:52 +00:00
2014-10-15 23:56:27 +00:00
2014-10-15 23:56:27 +00:00
2014-11-21 02:45:06 +00:00
2015-02-12 06:44:04 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2015-02-12 06:44:04 +00:00
2015-02-18 23:52:44 +00:00
2015-02-18 23:52:44 +00:00
2015-01-16 20:37:07 +00:00
2014-10-07 20:58:52 +00:00
2015-02-10 10:47:07 +00:00
2015-01-16 20:37:07 +00:00
2014-08-29 03:00:20 +00:00
2014-03-11 05:52:44 +00:00
2014-10-07 20:58:52 +00:00
2013-07-01 10:19:49 -07:00
2013-07-08 13:53:58 -07:00
2014-10-02 20:51:05 +00:00
2013-12-16 20:28:32 +00:00
2014-09-24 08:56:21 +00:00
2014-10-07 20:58:52 +00:00
2015-01-08 22:36:31 +00:00
2014-12-18 08:35:58 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2015-02-10 10:47:07 +00:00
2014-09-23 00:04:56 +00:00
2014-09-23 00:04:56 +00:00
2014-10-07 20:58:52 +00:00
2014-09-23 00:04:56 +00:00
2014-09-23 00:04:56 +00:00
2014-09-23 00:04:56 +00:00
2014-09-23 00:04:56 +00:00
2015-02-10 10:47:07 +00:00
2014-09-23 00:04:56 +00:00
2014-11-21 02:44:07 +00:00
2015-01-05 19:10:22 +00:00
2014-10-08 02:50:48 +00:00
2014-10-08 02:50:48 +00:00
2015-01-08 00:38:09 +00:00
2015-02-10 10:47:07 +00:00
2014-12-08 21:51:59 +00:00
2014-12-08 21:51:59 +00:00
2014-11-11 21:46:16 +00:00
2015-02-10 23:07:09 +00:00
2014-11-11 21:46:16 +00:00
2014-11-11 21:46:16 +00:00
2014-09-23 00:05:07 +00:00
2014-10-29 18:37:53 +00:00
2015-02-17 18:19:14 +00:00
2014-06-20 18:27:26 +00:00