diff options
Diffstat (limited to 'zephyr/include/cros/binman.dtsi')
-rw-r--r-- | zephyr/include/cros/binman.dtsi | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/zephyr/include/cros/binman.dtsi b/zephyr/include/cros/binman.dtsi index 167fd69d1c..1ba7a3bde6 100644 --- a/zephyr/include/cros/binman.dtsi +++ b/zephyr/include/cros/binman.dtsi @@ -36,13 +36,23 @@ offset = <0x40000>; size = <0x40000>; rw-fw { - type = "blob"; - filename = "zephyr_rw.bin"; - }; - rw-fwid { - type = "text"; - size = <32>; - text-label = "version"; + type = "section"; + zephyr-rw { + type = "blob"; + filename = "zephyr_rw.bin"; + }; + rw-fwid { + /* Fix the lcoation of the FWID to the + * last 32 bytes of the flash. This + * ensures the RW entries in the FMAP + * stored in the RO section of flash + * are always correct. + */ + offset = <(0x40000 - 32)>; + type = "text"; + size = <32>; + text-label = "version"; + }; }; }; }; |