summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.flash
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.flash')
-rw-r--r--zephyr/Kconfig.flash7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.flash b/zephyr/Kconfig.flash
index db049768a6..e3c161f31b 100644
--- a/zephyr/Kconfig.flash
+++ b/zephyr/Kconfig.flash
@@ -76,6 +76,13 @@ config PLATFORM_EC_INTERNAL_STORAGE
endchoice
+config PLATFORM_EC_RW_TOTAL_IMAGE_SIZE
+ hex
+ default $(dt_node_int_prop_hex,/binman/ec-rw,size)
+ help
+ Total size of the EC RW image, including the 32-byte RW_FWID. The
+ source of truth for this setting is the binman devicetree node.
+
# Workaround for not being able to have commas in macro arguments
DT_CHOSEN_CROS_FLASH := cros-ec,flash