summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml6
-rw-r--r--zephyr/include/cros/binman.dtsi6
2 files changed, 12 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml b/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml
index 0ec9bdfbb0..afc716296d 100644
--- a/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml
+++ b/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml
@@ -37,3 +37,9 @@ properties:
required: false
description: >-
Set if the section should be read-only.
+ preserve:
+ type: boolean
+ required: false
+ description: >-
+ Set if the section should be preserved when updating firmware. This is
+ just a signal. Enforcement of this is upto the updater.
diff --git a/zephyr/include/cros/binman.dtsi b/zephyr/include/cros/binman.dtsi
index 1ba7a3bde6..dcf494843f 100644
--- a/zephyr/include/cros/binman.dtsi
+++ b/zephyr/include/cros/binman.dtsi
@@ -28,6 +28,12 @@
size = <32>;
text-label = "version";
};
+ cbi {
+ type = "fill";
+ size = <0>;
+ fill-byte = [ff];
+ preserve;
+ };
};
};
ec-rw {