summaryrefslogtreecommitdiff
path: root/board/slippy
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-09-04 16:47:27 -0700
committerBill Richardson <wfrichar@chromium.org>2013-09-06 00:13:17 +0000
commit2a31e2ac4bc899de7dfbfcca191376ce7063fd2c (patch)
treeeec0d306930c8d3915ca3ae8b5796e5dca30c08e /board/slippy
parent748154d55f10f260502eb19bdb81298878543329 (diff)
downloadchrome-ec-2a31e2ac4bc899de7dfbfcca191376ce7063fd2c.tar.gz
Add command for Haswell to pause in s5 at shutdown
At normal AP shutdown, Haswell systems skip S5 entirely and go directly to G3. It's sometimes handy to pause in S5 as the other systems do, for things like power-cycle tests that use the RTC to do a delayed wake from S5. This CL adds a console command and a host command to enable/disable that pause in S5. The default is to skip S5, and the override value is not persistent across EC reboots, so whenever the EC hibernates or reboots (Refresh + Power, software sync), you'll have to re-enable it again. BUG=chrome-os-partner:22346 BRANCH=falco,ToT TEST=manual On Haswell systems only. To enable the pause in S5 at shutdown, do either of these: EC console: gsv s5 1 root shell: ectool pause_in_s5 on Shut the AP down politely, and it should pause in S5 for 10 seconds before continuing to G3. You can see this by watching the EC console. To disable the pause in S5 at shutdown, do any of these: EC console: gsv s5 0 root shell: ectool pause_in_s5 off or press Refresh + POWER Boot the system, then politely shut down. This time it should go directly to G3 without pausing in S5. Change-Id: I324e6e2373bc20b61a731b4ef443d7bb8edb6b83 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/168086 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/slippy')
-rw-r--r--board/slippy/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/slippy/board.h b/board/slippy/board.h
index ace4cdd464..118f346045 100644
--- a/board/slippy/board.h
+++ b/board/slippy/board.h
@@ -18,6 +18,7 @@
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHIPSET_HASWELL
#define CONFIG_CHIPSET_X86
+#define CONFIG_CMD_GSV
#define CONFIG_EXTPOWER_GPIO
#define CONFIG_FAN
#define CONFIG_FAN_RPM_MIN 1000