summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2022-11-15 01:46:49 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-06 07:11:49 +0000
commite6c5dc42187847f5b728d865d9c750555b9b33b8 (patch)
tree0eae5b11bf0f674635ce21d15b8bbfde1536cdbb /common/build.mk
parent4df4ed38aff2fcfc5b469d168ac87c1ebedeec56 (diff)
downloadchrome-ec-e6c5dc42187847f5b728d865d9c750555b9b33b8.tar.gz
system: Implement system safe mode
Basic implementation of system safe mode recovery. System safe mode is a recovery mode that may be started after a fault/panic. It allows the AP to collect info about the fault and system state before the system resets This CL includes support for Zephyr EC and legacy CrOS EC BUG=b:249128225 BRANCH=None TEST=./twister -s external/platform/ec/zephyr/test/rw_safe_mode/rw_safe_mode.default Manually tested on skyrim Change-Id: I15139bb082011485b54e4ca7813839940bf5401a Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4029604 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk
index c9b2630de5..1a7055b759 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -216,6 +216,7 @@ common-$(HAS_TASK_PDCMD)+=host_command_pd.o
common-$(HAS_TASK_KEYSCAN)+=keyboard_scan.o
common-$(HAS_TASK_LIGHTBAR)+=lb_common.o lightbar.o
common-$(HAS_TASK_MOTIONSENSE)+=motion_sense.o
+common-$(CONFIG_SYSTEM_SAFE_MODE)+=system_safe_mode.o
ifneq ($(HAVE_PRIVATE_AUDIO_CODEC_WOV_LIBS),y)
common-$(CONFIG_AUDIO_CODEC_WOV)+=hotword_dsp_api.o