the following patch was just integrated into master: commit 86ce7f92735d4e0a3c6938cf7695b2805f5f48b4 Author: Stefan Reinauer reinauer@chromium.org Date: Tue May 28 12:37:08 2013 -0700
RTC: Skip rtc_init() in S3 resume path
In addition to not clearing the pending interrupts, we also don't want to reset the RTC control register when booting with an S3 resume.
On most new systems, when the RTC well is losing power, we will also lose state that is required to perform a resume, so we end up in a normal boot anyways. Hence don't do any RTC initialization in the S3 resume path.
Signed-off-by: Stefan Reinauer reinauer@google.com
Change-Id: I73b486082faa741e9dccd15f2b8e3a8399c98f80 Reviewed-on: https://gerrit.chromium.org/gerrit/56826 Reviewed-by: Duncan Laurie dlaurie@chromium.org Reviewed-by: Aaron Durbin adurbin@chromium.org Reviewed-by: Derek Basehore dbasehore@chromium.org Commit-Queue: Stefan Reinauer reinauer@google.com Tested-by: Stefan Reinauer reinauer@google.com Reviewed-on: http://review.coreboot.org/4206 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich rminnich@gmail.com
See http://review.coreboot.org/4206 for details.
-gerrit