summaryrefslogtreecommitdiff
path: root/util/lock
diff options
context:
space:
mode:
authorPatryk Duda <pdk@semihalf.com>2022-02-21 13:49:12 +0000
committerCommit Bot <commit-bot@chromium.org>2022-02-28 16:27:57 +0000
commit190a365409031e901708136da85ef38ceb95bcf6 (patch)
treebb25e06ba425cc83e9751aa4604ab5581118c58c /util/lock
parente8c4ea58619019e202ff5cac29c61b4a04d9ed44 (diff)
downloadchrome-ec-190a365409031e901708136da85ef38ceb95bcf6.tar.gz
stm32: Introduce define to control extended reset flags
Some ROs don't support extended reset flags saved in backup RAM. BKPDATA_INDEX_SAVED_RESET_FLAGS_2 (introduced in CL:1295890) was added in the middle of bkpdata_index enum, so it breaks compatibility between RO and RW. In some cases, extended reset flags in backup RAM are cleared because RO wrongly recognizes flags as panic reason. BUG=b:119131962 BRANCH=none TEST=Compile FPMCU firmware for nami with RO nami_fp_v2.2.144-7a08e07eb. Issue 'reboot ro' command from RW part. FPMCU shouldn't stop in RO, because that was not implemented when RO was released. After jump to RW, check if panic data doesn't exist. Signed-off-by: Patryk Duda <pdk@semihalf.com> Change-Id: Ifcefa463c80ec1b498546589dcfc704eba8dfe60 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3477957 Reviewed-by: Bobby Casey <bobbycasey@google.com> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Tested-by: Patryk Duda <patrykd@google.com> Commit-Queue: Patryk Duda <patrykd@google.com>
Diffstat (limited to 'util/lock')
0 files changed, 0 insertions, 0 deletions