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-07-11 16:51:39 -07:00
2012-08-28 04:39:56 -07:00
2013-07-09 16:20:13 -07:00
2013-06-13 15:52:16 -07:00
2013-07-09 08:51:43 -07:00
2013-06-12 15:01:01 -07:00
2013-06-05 11:25:10 -07:00
2013-07-17 10:49:48 -07:00
2013-07-17 10:49:48 -07:00
2013-06-07 13:13:48 -07:00
2013-07-16 16:40:39 -07:00
2013-06-07 10:52:11 -07:00
2013-06-13 15:52:29 -07:00
2013-06-07 10:52:11 -07:00
2013-07-08 11:30:38 -07:00
2013-07-12 16:49:14 -07:00
2013-07-12 16:49:14 -07:00
2013-07-10 11:16:43 -07:00
2013-04-24 09:58:22 -07:00
2013-03-27 11:35:20 -07:00
2013-06-05 11:25:09 -07:00
2013-07-16 12:06:30 -07:00
2013-07-11 13:39:16 -07:00
2013-04-02 14:12:56 -07:00
2013-04-03 11:49:07 -07:00
2013-07-16 12:06:30 -07:00
2013-07-16 12:06:31 -07:00
2013-07-16 12:06:31 -07:00
2013-07-08 13:53:59 -07:00
2013-06-03 14:32:38 -07:00
2013-04-11 15:38:08 -07:00
2013-05-07 20:59:53 -07:00
2013-07-15 14:10:38 -07:00
2012-07-26 16:25:34 -07:00
2013-03-20 15:23:29 -07:00
2013-07-01 10:19:49 -07:00
2013-06-24 15:44:24 -07:00
2013-04-24 16:32:58 -07:00
2013-05-14 10:17:13 -07:00
2013-03-22 11:24:29 -07:00
2013-07-16 12:06:30 -07:00
2013-07-16 12:06:30 -07:00
2013-07-15 14:11:13 -07:00
2013-07-16 12:06:30 -07:00
2013-05-08 13:24:19 -07:00
2013-04-26 16:07:21 -07:00
2013-05-07 09:09:50 -07:00
2013-05-07 20:59:53 -07:00
2013-07-16 12:06:30 -07:00
2013-03-29 15:39:32 -07:00
2012-07-08 20:25:17 -07:00
2012-10-29 16:52:49 -07:00
2013-07-10 11:16:43 -07:00
2013-04-05 14:28:49 -07:00
2013-05-20 10:54:00 -07:00
2013-07-10 11:16:36 -07:00
2012-10-26 09:49:38 -07:00
2013-07-17 10:49:48 -07:00
2013-04-25 17:03:18 -07:00
2012-10-25 14:12:10 -07:00
2012-07-26 16:25:34 -07:00
2013-06-10 01:48:44 -07:00
2013-07-08 11:30:38 -07:00
2012-10-25 17:03:44 -07:00
2013-05-07 20:59:53 -07:00
2012-06-27 03:22:17 -07:00
2013-06-07 10:52:13 -07:00
2013-07-09 17:16:09 -07:00
2013-07-16 12:06:30 -07:00
2013-07-08 11:30:38 -07:00
2013-05-17 09:52:26 -07:00
2013-07-11 04:26:10 -07:00
2013-05-17 09:52:26 -07:00
2013-04-23 10:39:09 -07:00
2013-05-22 12:29:20 -07:00
2013-05-01 15:36:22 -07:00
2013-07-16 12:06:30 -07:00
2013-05-07 20:59:53 -07:00
2012-12-10 15:14:38 -08:00
2012-03-02 16:46:26 +00:00
2013-07-11 16:51:40 -07:00