diff options
author | Firas Sammoura <fsammoura@google.com> | 2023-03-13 21:20:36 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-03 01:44:52 +0000 |
commit | 7f21c475bb679788a0e04d71780eac8cc78ac5f5 (patch) | |
tree | af8b07434460c5d3df112d95446edc8ee75517a8 /board/willow/board.h | |
parent | 200d74d0f3ad8e8f96c112e7416ed2414d55fa76 (diff) | |
download | chrome-ec-7f21c475bb679788a0e04d71780eac8cc78ac5f5.tar.gz |
ec: Add async FLASH_PROTECT
Create an async FLASH_PROTECT command that is enabled when
CONFIG_FLASH_PROTECT_DEFERRED is defined. Disable this configuration
for boards cerise, damu, stern,cand willow where there is no flash memory
available. Disable this configuration for board hyperdebug where the
deferred implementation in not possible because CONFIG_COMMON_RUNTIME is
undefined. Enable this configuration otherwise in both the ec and zephyr
configuration files.
BRANCH=nocturne
BUG=b:116396469
TEST=make buildall -j
Change-Id: I0605cc600841ec2ec3c1dd2d3d3598b28d20ffcb
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4335413
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'board/willow/board.h')
-rw-r--r-- | board/willow/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/willow/board.h b/board/willow/board.h index 013f7df035..1772022395 100644 --- a/board/willow/board.h +++ b/board/willow/board.h @@ -19,6 +19,9 @@ #include "baseboard.h" +/* Disable deferred (async) flash protect*/ +#undef CONFIG_FLASH_PROTECT_DEFERRED + #undef CONFIG_CHIPSET_POWER_SEQ_VERSION #define CONFIG_CHIPSET_POWER_SEQ_VERSION 1 |