diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2021-08-16 14:02:13 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-17 04:49:53 +0000 |
commit | a46efa226904918b2144f3d92721b78e10adee3d (patch) | |
tree | 6b49a826b3122028df1e76279b6a3ec8270b7feb /zephyr/include | |
parent | eef0516b7cd563e6419520ac4ded110b00c17732 (diff) | |
download | chrome-ec-a46efa226904918b2144f3d92721b78e10adee3d.tar.gz |
zephyr: it8xxx2: use half space (512KB) from flash
This saved about 3 seconds erasing time while running software sync.
This also pull configurations of flash/memory layout to chip level.
BRANCH=none
BUG=b:195954913
TEST=software sync successfully.
(without erase timeout patch of depthcharge)
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: Ia7fa08fdf6bdde4c47ca8d852f8eeaa83f39dae5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3097250
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/include')
-rw-r--r-- | zephyr/include/cros/ite/it8xxx2.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/include/cros/ite/it8xxx2.dtsi b/zephyr/include/cros/ite/it8xxx2.dtsi index 7da92ea1bc..54ca7f63e3 100644 --- a/zephyr/include/cros/ite/it8xxx2.dtsi +++ b/zephyr/include/cros/ite/it8xxx2.dtsi @@ -69,15 +69,15 @@ }; }; - /* it8xxx2 has 1MB of flash */ + /* it8xxx2 has 1MB of flash. currently, we use 512KB from flash. */ binman { wp-ro { offset = <0x0>; - size = <0x80000>; + size = <0x40000>; }; ec-rw { - offset = <0x80000>; - size = <0x80000>; + offset = <0x40000>; + size = <0x40000>; }; }; }; |