diff options
author | Patryk Duda <pdk@semihalf.com> | 2021-02-04 12:43:54 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-16 18:16:16 +0000 |
commit | fe0f3f8fa7a238a71307cbe2d95eeb108b1a721e (patch) | |
tree | 55b1a26301d5bb2333d23422b7774f653cc92254 /baseboard/octopus/baseboard.h | |
parent | 4f49ac0fa76a2dff55e99ac7b1c5afc66693174e (diff) | |
download | chrome-ec-fe0f3f8fa7a238a71307cbe2d95eeb108b1a721e.tar.gz |
octopus: Exclude RV32I panic data from structure
This patch excludes RV32I core specific data in panic data structure
for all octopus devices to keep the same size of the structure in
octopus EC RO and ToT EC. This is necessary to prevent panic data
corruption and access jump data correctly (see bug in description
for more details).
All octopus family devices doesn't include RV32I panic data in their
EC RO panic data structures (checked include/panic.h on
firmware-octopus branch).
BUG=b:165773837
BRANCH=none
TEST=Run EC ToT on Ampton. Make sure you are in EC RW.
Crash EC using 'crash assert'. Make sure that EC RW after sysjump
doesn't report unknown reset cause.
Signed-off-by: Patryk Duda <pdk@semihalf.com>
Change-Id: Ia8c367cc3b4e2b24f21e907f8dafa49aeb7d40e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2673417
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Commit-Queue: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'baseboard/octopus/baseboard.h')
-rw-r--r-- | baseboard/octopus/baseboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index 420f6f6715..1d580b233f 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -89,6 +89,7 @@ #define CONFIG_BOARD_VERSION_CBI #define CONFIG_LOW_POWER_IDLE #define CONFIG_DPTF +#define CONFIG_DO_NOT_INCLUDE_RV32I_PANIC_DATA #define CONFIG_BOARD_HAS_RTC_RESET #define CONFIG_LED_ONOFF_STATES #define CONFIG_CMD_CHARGEN |