summaryrefslogtreecommitdiff
path: root/zephyr/emul
diff options
context:
space:
mode:
authorPatryk Duda <pdk@semihalf.com>2021-08-23 17:13:38 +0200
committerCommit Bot <commit-bot@chromium.org>2021-09-16 12:20:24 +0000
commit643635b91ee40def104188cf9623a9a28f25bd4f (patch)
treef8560efd19838cc85033caeca3cb02dc03f98362 /zephyr/emul
parented42e86fd3c444982aa7c313c4530ad89c310191 (diff)
downloadchrome-ec-643635b91ee40def104188cf9623a9a28f25bd4f.tar.gz
hatch_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=bloonchipper`. Flash image on dragonclaw. 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: I45f075493cecc41aad39a01053ba86afc37a52b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114647 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 'zephyr/emul')
0 files changed, 0 insertions, 0 deletions