summaryrefslogtreecommitdiff
path: root/board/hatch_fp/board.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2020-11-23 16:16:14 +0100
committerCommit Bot <commit-bot@chromium.org>2020-12-16 09:39:12 +0000
commit80a3a4a289877fa8726d5b794fdfe57d51a3b047 (patch)
tree74b7912697e5b71ea91bc05465c057556b24c758 /board/hatch_fp/board.h
parent59797476b4ad70cfe4209e6f9fdd3b78e49c12ed (diff)
downloadchrome-ec-80a3a4a289877fa8726d5b794fdfe57d51a3b047.tar.gz
bloonchipper: enable low power
Enable STOP mode in idle when the PLL is off and the AP is not running. The Zork variants have a broken SLP_S0_L signal (stuck to 0 in S0). We just ignore it there and only uses SLP_S3_L on those machines which is fine since they do not implement a S0ix like state. As those systems currently are the only users of the serial host interface, uses this configuration as proxy for this workaround. Once the AP RW will be updated on all those variants to toggle properly the SLP_S0_L signal, we can remove this workaround. Note: currently there is no wake-up from the serial console, in order to use it, you must ensure that the AP power signals are in the 'running' state. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=b:130561737 BRANCH=fpmcu-bloonchipper TEST=manual, on bloonchipper, check we can still capture fingerprint. TEST=manual, read the MCU power consumption: pp3300_dx_mcu_mw is 2.367 mW. TEST=manual, verify USART and SPI host interfaces. TEST=manual, verify fingerprint recognition latency. Change-Id: Ia6779238d65022156a53ed4d040620c8c8cfc85e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2555158 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/hatch_fp/board.h')
-rw-r--r--board/hatch_fp/board.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/hatch_fp/board.h b/board/hatch_fp/board.h
index b6f27d2815..8a0bb2d38c 100644
--- a/board/hatch_fp/board.h
+++ b/board/hatch_fp/board.h
@@ -225,12 +225,9 @@
#define CONFIG_AES
#define CONFIG_AES_GCM
#define CONFIG_DMA
-/*FIXME*/
-/*#define CONFIG_FORCE_CONSOLE_RESUME*/
#define CONFIG_FPU
#define CONFIG_HOST_COMMAND_STATUS
-/*FIXME*/
-/*#define CONFIG_LOW_POWER_IDLE*/
+#define CONFIG_LOW_POWER_IDLE
#define CONFIG_MKBP_EVENT
#define CONFIG_MKBP_USE_GPIO
#define CONFIG_PRINTF_LEGACY_LI_FORMAT