diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2023-03-01 16:18:07 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-02 01:31:15 +0000 |
commit | a1d45ab6536b24cc0b0e5a3b9746f0bc96b69e85 (patch) | |
tree | 8113d9638ef5fc5ed2fd0395811f27679c554be3 /zephyr/shim/chip/it8xxx2/include/flash_chip.h | |
parent | a3a39796d3c5b21923e18b37b3d7f6030ef3805a (diff) | |
download | chrome-ec-a1d45ab6536b24cc0b0e5a3b9746f0bc96b69e85.tar.gz |
zephyr/it8xxx2: RO flash region excludes the PSTATE bankfirmware-skyrim-15369.B-main
Since it8xxx2 uses a dedicated flash bank to store persistent state,
this change excludes the PSTATE bank from the RO flash region.
This configuration is the as same CrOS EC OS.
BRANCH=none
BUG=b:270589902
TEST=Updating EC FW using flashrom utility without verify failure
on PSTATE region.
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: Iea5a4fbfde43675af58acbb85023d18503d3c3c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4297063
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim/chip/it8xxx2/include/flash_chip.h')
-rw-r--r-- | zephyr/shim/chip/it8xxx2/include/flash_chip.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zephyr/shim/chip/it8xxx2/include/flash_chip.h b/zephyr/shim/chip/it8xxx2/include/flash_chip.h index 00aaba05fd..b3f51ba378 100644 --- a/zephyr/shim/chip/it8xxx2/include/flash_chip.h +++ b/zephyr/shim/chip/it8xxx2/include/flash_chip.h @@ -27,7 +27,6 @@ * register with persistent state. */ #define CONFIG_FW_PSTATE_SIZE CONFIG_FLASH_BANK_SIZE -#define CONFIG_FW_PSTATE_OFF \ - (CONFIG_RO_STORAGE_OFF + CONFIG_RO_SIZE - CONFIG_FW_PSTATE_SIZE) +#define CONFIG_FW_PSTATE_OFF (CONFIG_RO_STORAGE_OFF + CONFIG_RO_SIZE) #endif /* __CROS_EC_FLASH_CHIP_H */ |