summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.panic
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.panic')
-rw-r--r--zephyr/Kconfig.panic9
1 files changed, 8 insertions, 1 deletions
diff --git a/zephyr/Kconfig.panic b/zephyr/Kconfig.panic
index 322aaee25d..c402fc1e70 100644
--- a/zephyr/Kconfig.panic
+++ b/zephyr/Kconfig.panic
@@ -1,4 +1,4 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -40,4 +40,11 @@ config PLATFORM_EC_STACKOVERFLOW
This can be used to check that stack-overflow detection is working
as expected.
+config PLATFORM_EC_DEBUG_ASSERT_BRIEF
+ bool "Enable brief panic messages"
+ default n
+ help
+ On assertion failure, prints only the file name and the line number.
+ Boards typically define this option in order to reduce image size.
+
endif # PLATFORM_EC_PANIC