summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTommy Chung <tommy.chung@quanta.corp-partner.google.com>2023-04-21 17:40:02 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-05 04:07:01 +0000
commitf60d347b57eb36b3c5b4c2f271847beed87c9387 (patch)
tree5e0da74373e9da16aca969b1ce1f01b309151e5f
parent1ab28435709772a9b6fe1bd6a7bad0b9e3da8ff4 (diff)
downloadchrome-ec-f60d347b57eb36b3c5b4c2f271847beed87c9387.tar.gz
yavilla: increase RW image size to 0x58000
Since 0x50000 is not enough for yavilla, and consider the boot time issue b:260762509, increase 32KB instead of default 0x60000. BUG=b:273791621 TEST=zmake build yavilla Change-Id: Ied0162c73b3be5380fee9461b1f67d43b660749d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4457657 Reviewed-by: Peter Marheine <pmarheine@chromium.org> Tested-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com> Commit-Queue: Tommy Chung <tommy.chung@quanta.corp-partner.google.com> Reviewed-by: Dino Li <Dino.Li@ite.com.tw>
-rw-r--r--zephyr/program/nissa/yavilla/overlay.dtsi6
-rw-r--r--zephyr/program/nissa/yavilla/project.conf5
2 files changed, 3 insertions, 8 deletions
diff --git a/zephyr/program/nissa/yavilla/overlay.dtsi b/zephyr/program/nissa/yavilla/overlay.dtsi
index 61bddb184b..b60ad2f476 100644
--- a/zephyr/program/nissa/yavilla/overlay.dtsi
+++ b/zephyr/program/nissa/yavilla/overlay.dtsi
@@ -205,7 +205,7 @@
&binman {
ec-rw {
- size = <0x50000>;
+ size = <0x58000>;
rw-fw {
rw-fwid {
/* Fix the lcoation of the FWID to the
@@ -214,11 +214,11 @@
* stored in the RO section of flash
* are always correct.
*/
- offset = <(0x50000 - 32)>;
+ offset = <(0x58000 - 32)>;
};
};
};
- pad-after = <0x50000>;
+ pad-after = <0x48000>;
};
&thermistor_3V3_51K1_47K_4050B {
diff --git a/zephyr/program/nissa/yavilla/project.conf b/zephyr/program/nissa/yavilla/project.conf
index ac4fd6a3d2..bbabd05b37 100644
--- a/zephyr/program/nissa/yavilla/project.conf
+++ b/zephyr/program/nissa/yavilla/project.conf
@@ -4,11 +4,6 @@
CONFIG_BOARD_YAVILLA=y
-# FW image
-# TODO: Once this configuration is configured with binman's size property
-# by default, it can be removed.
-CONFIG_CROS_EC_RW_SIZE=0x50000
-
# Ensure recovery key combination (esc+refresh+power) is reliable: b/236580049
CONFIG_PLATFORM_EC_KEYBOARD_PWRBTN_ASSERTS_KSI3=y
CONFIG_PLATFORM_EC_KEYBOARD_REFRESH_ROW3=y