summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-09-26 17:12:09 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-27 00:28:58 +0000
commit4766e31aa885d25646f32050341fe84b5f4bd6c1 (patch)
tree2c66911c32a1840edb2d9d844f28d865eb092515
parentc20313cc2621eebd75ed0fb3e8c3d73153e43f71 (diff)
downloadchrome-ec-4766e31aa885d25646f32050341fe84b5f4bd6c1.tar.gz
zephyr: npxc9m7f: Update RO/RW sizes to 320 KiB
The NPXC997 part has 320 KiB of code RAM, set the binman properties to match. BUG=none BRANCH=none TEST=zmake build rex Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: If7b4772ad449f21b5fe26faf92392dde9ba5de84 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3919679 Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
-rw-r--r--zephyr/boards/arm/npcx9/npcx9m7f.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/boards/arm/npcx9/npcx9m7f.dts b/zephyr/boards/arm/npcx9/npcx9m7f.dts
index 5f936173e1..b28c5ade40 100644
--- a/zephyr/boards/arm/npcx9/npcx9m7f.dts
+++ b/zephyr/boards/arm/npcx9/npcx9m7f.dts
@@ -8,3 +8,17 @@
#include <cros/nuvoton/npcx9.dtsi>
#include <nuvoton/npcx9m7f.dtsi>
#include "npcx9.dtsi"
+
+/ {
+ /* The NPCX9m7F includes 320 KiB of code RAM, and 1 MiB flash */
+ binman {
+ wp-ro {
+ offset = <0x0>;
+ size = <0x50000>;
+ };
+ ec-rw {
+ offset = <0x50000>;
+ size = <0x50000>;
+ };
+ };
+};