Files
OpenCellular/common
Randall Spangler 521e97fd13 Clean up EC hibernate logic
system_hibernate(0, 0) now hibernates until a wake pin assert, with no
RTC wake.

BUG=none
TEST=manual

command -> expected reset flags from 'sysinfo'
1. reboot -> soft
2. reboot hard -> power-on hard
3. hibernate (and press power button) -> power-on wake-pin
4. hibernate 3 (and wait for timeout) -> power-on rtc-alarm
5. hibernate 10 (and press power button before 10 sec) -> power-on wake-pin

hibdelay 10
then shut system down and run on battery
10 sec later, system should hibernate.

Change-Id: I399413d265f6fcf808adf9ed1db7b812a1b12fc2
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/29923
Reviewed-by: Vic Yang <victoryang@chromium.org>
2012-08-13 14:22:23 -07:00
..
2012-08-06 00:05:51 -07:00
2012-08-07 19:06:33 -07:00
2012-08-07 19:06:43 -07:00
2012-07-10 14:56:05 -07:00
2012-07-17 13:11:44 -07:00
2012-07-17 13:11:44 -07:00
2012-08-09 17:40:37 -07:00
2012-08-07 19:06:33 -07:00
2012-08-09 19:18:20 -07:00
2012-08-09 17:40:37 -07:00
2012-08-09 14:38:16 -07:00
2012-06-27 00:55:04 -07:00
2012-06-25 07:15:50 -07:00
2012-08-07 12:05:30 -07:00
2012-05-25 13:34:06 -07:00
2012-07-30 13:41:33 -07:00
2012-08-09 17:40:37 -07:00
2012-08-13 14:22:23 -07:00
2012-07-22 13:17:02 -07:00
2012-08-07 19:06:43 -07:00
2012-05-25 13:34:06 -07:00
2012-07-23 23:30:33 -07:00
2012-08-06 12:06:43 -07:00
2012-08-13 14:22:23 -07:00