summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-01-28 09:56:18 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-04 00:55:08 +0000
commit319d22a9d352e4ecd55eca2b0b6f401819ef9cc1 (patch)
tree142a2b2ac922e5390063b76d4401bc3247ca6761
parent41f52b709177f7ddff01f5b7a568c663bc495897 (diff)
downloadchrome-ec-319d22a9d352e4ecd55eca2b0b6f401819ef9cc1.tar.gz
zephyr: zmake: Patch up the output packer for binman
Update the dts file used by binman to use the correct CONFIG_PLATFORM_EC_PROTECTED_STORAGE_* and CONFIG_PLATFORM_EC_WRITABLE_STORAGE_* values for packing the flash image. BRANCH=none BUG=b:176828988, b:174481378 TEST=zmake testall Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I39729a5802d7c258c5e4109106f97cf707d1a574 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2656917 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/zmake/zmake/output_packers.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/zmake/zmake/output_packers.py b/zephyr/zmake/zmake/output_packers.py
index d8c1a8db43..c89d9a7a86 100644
--- a/zephyr/zmake/zmake/output_packers.py
+++ b/zephyr/zmake/zmake/output_packers.py
@@ -35,15 +35,15 @@ def _write_dts_file(dts_file, config_header, output_bin, ro_filename, rw_filenam
pad-byte = <0x1d>;
section@0 {{
read-only;
- offset = <CONFIG_CROS_EC_RO_MEM_OFF>;
- size = <CONFIG_CROS_EC_RO_SIZE>;
+ offset = <CONFIG_PLATFORM_EC_PROTECTED_STORAGE_OFF>;
+ size = <CONFIG_PLATFORM_EC_PROTECTED_STORAGE_SIZE>;
blob {{
filename = "{ro_filename}";
}};
}};
section@1 {{
- offset = <CONFIG_CROS_EC_RW_MEM_OFF>;
- size = <CONFIG_CROS_EC_RW_SIZE>;
+ offset = <CONFIG_PLATFORM_EC_WRITABLE_STORAGE_OFF>;
+ size = <CONFIG_PLATFORM_EC_WRITABLE_STORAGE_SIZE>;
blob {{
filename = "{rw_filename}";
}};