diff options
author | Patryk Duda <pdk@semihalf.com> | 2021-08-23 17:13:38 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-16 12:20:20 +0000 |
commit | ed42e86fd3c444982aa7c313c4530ad89c310191 (patch) | |
tree | be99376599a8c90dcbfc6d4177747765ee74d02b /board/nocturne_fp/board.h | |
parent | 0bb062c8cd7c201571da60edd828c007dcbc436c (diff) | |
download | chrome-ec-ed42e86fd3c444982aa7c313c4530ad89c310191.tar.gz |
nocturne_fp/board: Define CONFIG_PANIC_STRIP_GPR in config
Fingerprint MCU is processing sensitive data (fingerprints, keys).
Defining this option will prevent leaking the data in General Purpose
Registers.
BUG=b:193408648
BRANCH=none
TEST=`make BOARD=dartmonkey`. Flash image on icetower.
Trigger panic using 'crash' command. After reboot, use 'panicinfo'
to check what was saved. When CPU exception occurred registers
R0-R12 should be set to 0. In case of software panic, R4 and R5 can
contain panic reason and additional information.
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: I3278e985300a6e1a336b407d507820f5cf963c9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114646
Commit-Queue: Marcin Wojtas <mwojtas@google.com>
Reviewed-by: Craig Hesling <hesling@chromium.org>
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/nocturne_fp/board.h')
-rw-r--r-- | board/nocturne_fp/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/nocturne_fp/board.h b/board/nocturne_fp/board.h index 97eec20271..1f89c631eb 100644 --- a/board/nocturne_fp/board.h +++ b/board/nocturne_fp/board.h @@ -108,6 +108,7 @@ #undef CONFIG_TASK_PROFILING #define CONFIG_WATCHDOG_HELP #define CONFIG_WP_ACTIVE_HIGH +#define CONFIG_PANIC_STRIP_GPR /* SPI configuration for the fingerprint sensor */ #define CONFIG_SPI_CONTROLLER |