summaryrefslogtreecommitdiff
path: root/board/careena/board.h
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2021-04-13 10:15:25 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-16 04:17:10 +0000
commit0d11b2f71e40e0147cc1dfc0a53b76758d318c77 (patch)
tree7d777ff99e2ae18758fb14e73b628da1084e3668 /board/careena/board.h
parent62b834032abdda092dd1fc4be437033807e3a4e3 (diff)
downloadchrome-ec-0d11b2f71e40e0147cc1dfc0a53b76758d318c77.tar.gz
careena: Add thermal protection
This patch adds thermal protection to prevent AP runaway. BUG=b:185082703 BRANCH=firmware-grunt-11031.B TEST=Verify thermal halt/alert as expected. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I4fccc93b0cb89a2e5d2784dfc0a41aa866f691f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2822269 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/careena/board.h')
-rw-r--r--board/careena/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/careena/board.h b/board/careena/board.h
index 1020c65edf..3022feea54 100644
--- a/board/careena/board.h
+++ b/board/careena/board.h
@@ -27,6 +27,11 @@
#define CONFIG_CMD_LEDTEST
#define CONFIG_KEYBOARD_FACTORY_TEST
+/* Thermal */
+#define CONFIG_CHIPSET_CAN_THROTTLE
+#define CONFIG_CPU_PROCHOT_ACTIVE_LOW
+#define CONFIG_THROTTLE_AP
+
#define CONFIG_BATTERY_MEASURE_IMBALANCE
#define CONFIG_BATTERY_BQ4050