summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2023-04-26 08:28:48 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-11 18:53:53 +0000
commit58b5d0388b74fe58dd3817d078303a5a24ee53b6 (patch)
tree7d4df3d4e1c79c524a7a908356eb4a78b6172d90
parentec3349ed28f66582f5374ffd699f97fa42999199 (diff)
downloadchrome-ec-58b5d0388b74fe58dd3817d078303a5a24ee53b6.tar.gz
octopus: Enable system safe mode panic recovery
System safe mode allows the EC to recover from some types of panics which allows the OS to collect more data about the panic. BUG=b:268342532 BRANCH=octopus TEST=Pass safe mode tast test on bloog Change-Id: Iecbe84b9229fdae8c069de12c56361580cd9cb04 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4480011 Reviewed-by: Boris Mittelberg <bmbm@google.com>
-rw-r--r--baseboard/octopus/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h
index 7751e11911..d1cc6dd5db 100644
--- a/baseboard/octopus/baseboard.h
+++ b/baseboard/octopus/baseboard.h
@@ -297,6 +297,9 @@
/* Depends on how fast the AP boots and typical ODRs */
#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3)
+/* System safe mode for improved panic debugging */
+#define CONFIG_SYSTEM_SAFE_MODE
+
/*
* Sensor stack in EC/Kernel depends on a hardware interrupt pin from EC->AP, so
* do not define CONFIG_MKBP_USE_HOST_EVENT since all octopus boards use