Randall Spangler
672057cb7e
Split x86 power button logic out of switch.c
...
Power button logic is common across all platforms and is not
LM4-specific, so move it to its own module. Switch.c will eventually
be moving to common/ and will common across all platforms (not just
x86), and splitting out the x86 power button logic is needed before
that too.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=manual
1) power on system with both lid and power button.
2) power+refresh -> reboots
3) power+refresh+esc -> recovery mode
4) power+refresh+downarrow -> reboots, AP stays off
5) toggling recovery GPIO via servo should generate SW debug output
showing bit 0x10 toggling
Change-Id: I07714e2c035dceece66f90407983397d2697e7d5
Signed-off-by: Randall Spangler <rspangler@chromium.org >
Reviewed-on: https://gerrit.chromium.org/gerrit/61780
2013-07-17 10:49:48 -07:00
..
2013-04-30 10:38:43 -07:00
2013-07-11 16:51:39 -07:00
2013-06-07 10:52:14 -07:00
2013-07-15 14:10:45 -07:00
2013-04-05 14:28:42 -07:00
2013-04-24 16:32:58 -07:00
2013-06-07 10:52:11 -07:00
2013-07-03 16:02:24 -07:00
2012-05-25 09:59:58 -07:00
2013-06-13 09:02:08 -07:00
2013-06-07 10:52:11 -07:00
2012-11-01 12:45:22 -07:00
2013-07-10 11:16:43 -07:00
2013-07-10 11:16:43 -07:00
2013-07-10 11:16:43 -07:00
2013-04-24 16:32:58 -07:00
2013-03-26 18:03:20 -07:00
2013-07-16 12:06:31 -07:00
2013-04-29 11:05:08 -07:00
2013-07-16 12:06:31 -07:00
2013-03-27 11:35:20 -07:00
2013-06-27 12:48:06 -07:00
2013-07-12 16:49:14 -07:00
2011-12-07 19:10:02 +00:00
2012-10-26 09:49:38 -07:00
2013-04-10 14:24:10 -07:00
2013-04-10 14:24:10 -07:00
2013-06-03 14:32:38 -07:00
2013-04-24 00:06:00 -07:00
2013-06-13 18:13:23 -07:00
2013-04-25 17:03:18 -07:00
2013-06-20 13:55:11 -07:00
2013-05-07 09:09:50 -07:00
2013-06-26 09:08:23 -07:00
2013-03-20 15:23:29 -07:00
2013-04-30 11:45:52 -07:00
2012-11-04 20:27:57 -08:00
2012-10-30 12:42:46 -07:00
2013-04-25 17:03:18 -07:00
2013-06-18 10:31:09 -07:00
2013-03-27 11:35:20 -07:00
2013-03-27 11:35:20 -07:00
2013-04-24 16:32:58 -07:00
2013-04-24 16:32:58 -07:00
2013-03-22 11:24:29 -07:00
2013-04-02 14:12:57 -07:00
2012-04-26 13:57:19 -07:00
2012-09-11 09:46:16 -07:00
2013-05-07 09:09:50 -07:00
2013-07-15 14:11:13 -07:00
2012-11-04 20:27:57 -08:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2013-07-10 11:16:18 -07:00
2012-11-01 12:45:22 -07:00
2013-07-10 11:16:36 -07:00
2012-08-13 14:58:38 -07:00
2013-04-25 17:03:18 -07:00
2013-04-24 16:32:58 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:10 -07:00
2013-07-16 16:40:38 -07:00
2012-06-07 20:48:51 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2012-06-27 03:22:17 -07:00
2013-07-16 12:06:30 -07:00
2012-09-17 10:10:14 -07:00
2013-07-17 10:49:48 -07:00
2013-07-16 12:06:30 -07:00
2013-05-07 09:09:50 -07:00
2012-11-01 10:08:54 -07:00
2013-07-11 22:32:52 -07:00
2013-07-16 12:06:30 -07:00
2013-07-11 04:26:14 -07:00
2012-10-26 13:10:57 -07:00
2012-10-29 16:52:49 -07:00
2012-11-01 12:45:22 -07:00
2013-06-11 02:25:22 -07:00
2012-10-30 12:42:43 -07:00
2013-05-02 18:10:46 -07:00
2013-07-16 12:06:30 -07:00
2012-12-10 15:14:38 -08:00
2012-06-28 17:40:39 -07:00
2013-06-10 13:59:34 -07:00
2013-07-11 16:51:40 -07:00