summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2013-11-04 12:00:24 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-05 03:38:08 +0000
commit48dfd8c5ee5679c13b3931cac843b4e3dc1f9ed4 (patch)
tree4373b26eae8db24404df1d9dfbb65647b18a2071 /include
parentc47e4ec7d1c28c2fb97640ede5900e6381ea39cc (diff)
downloadchrome-ec-48dfd8c5ee5679c13b3931cac843b4e3dc1f9ed4.tar.gz
lm4: Fixed low power idle doesn't always wake up.stabilize-4920.6.Brelease-R32-4920.B
Temporary fix to the bug in which we miss wake events when in deep sleep with the LFIOSC (32kHz) clock and the EC is cold. This fix involves simply using a faster clock, 250kHz, when in low speed deep sleep. This fix consumes more power but solves the bug. Renamed EC console command dsleepmask to dsleep. BRANCH=none BUG=chrome-os-partner:23678 TEST=Go in to low speed deep sleep by going into either S3 or G3 and letting the EC console timeout. Then freeze-spray the EC chip. Wake up the EC via the console and make sure that the idlestats show that we have not missed a deadline. Change-Id: I4f9844f1937bc8c95cf1540502f7d8fb4cbc097e Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175614 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 97262e78d2..f9e2a806a3 100644
--- a/include/config.h
+++ b/include/config.h
@@ -485,7 +485,13 @@
*/
#define CONFIG_LID_SWITCH
+/*
+ * Low power idle options. These are disabled by default and all boards that
+ * want to use low power idle must define it. When using the LFIOSC, the low
+ * frequency clock will be used to conserve even more power when possible.
+ */
#undef CONFIG_LOW_POWER_IDLE
+#undef CONFIG_LOW_POWER_USE_LFIOSC
/* Support LPC interface */
#undef CONFIG_LPC