diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-05-09 15:34:50 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-05-09 16:54:17 -0700 |
commit | 30a33e6b0412c132c375cc569f9629da6eb168f3 (patch) | |
tree | 9aa61aafc6209ab62ea36553af238052f07dfae0 /board | |
parent | 1655c8727a82d8a344400f1708d315decb57c73c (diff) | |
download | chrome-ec-30a33e6b0412c132c375cc569f9629da6eb168f3.tar.gz |
Drop DPWROK when system is off for more than 10 secrelease-R20-2268.B
This saves ~70mw of power.
To make this work, I also had to stretch the power button signal to
give the system a chance to come back up when the user taps the power
button.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=chrome-os-partner:9574
TEST=manual
For each of the following tests, wait ~15 sec after the system is
powered off to give it a chance to drop DPWROK.
1) tap power button -> system turns on
2) hold power button 1 sec -> system turns on
3) open lid -> system turns on
4) silego reset (power+refresh, or power+esc on proto1) -> system stays off
5) silego recovery (power+esc+refresh) -> system turns on
6) hold down power button and type 'reboot' on EC console -> system turns on
7) type 'powerbtn' on EC console -> system turns on
Change-Id: I781cf3e665104192521b7fb9ff75a3c3e7f43464
Diffstat (limited to 'board')
-rw-r--r-- | board/bds/board.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/bds/board.c b/board/bds/board.c index 777e84c3e5..89bd337af3 100644 --- a/board/bds/board.c +++ b/board/bds/board.c @@ -86,12 +86,17 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { /* BDS system is only half-wired to an x86 chipset, so it can't tell what state * the chipset is in. Rather than scatter ifdef's everywhere, put a mock * chipset interface here. */ -int chipset_in_state(enum chipset_state in_state) +int chipset_in_state(int state_mask) { return 1; /* Sure, I'm in whatever state you want. */ } +void chipset_exit_hard_off(void) +{ +} + + void configure_board(void) { } |