diff options
author | Peter Marheine <pmarheine@chromium.org> | 2023-03-07 05:43:41 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-07 18:02:40 +0000 |
commit | 9d663789f0806f2be07bff2162becfdcada5461e (patch) | |
tree | 51c2b974582286923dbdef5da8e2bdc3094b1291 /zephyr/dts | |
parent | 24f05e4294a9c4e3463be0f51e502f82961d2f82 (diff) | |
download | chrome-ec-9d663789f0806f2be07bff2162becfdcada5461e.tar.gz |
Revert "binman: Add CBI section to fmap"
This reverts commit b8da04cd148547852447cf643af2a8e9caa9a058.
Reason for revert: breaks `flashrom` uses that use fmap to limit
operation to chosen regions, because flashrom cannot internally
represent zero-size flash regions.
Original change's description:
> binman: Add CBI section to fmap
>
> CBI section is added to fmap. The CBI section will be filled with 0xFF
> in binary. The size and offset could be overridden with device tree
> config in chip/program/project.
>
> A property named "preserve" is added, to determine the CBI portion
> should not be updated during flashing of chip.
>
> BRANCH=None
> BUG=b:266972341
> TEST=dump_fmap <ec.bin location> && manually checking ec.bin content
>
> Change-Id: I43647285502917bf557b2fb4ce174c24538fb363
> Signed-off-by: Madhurima Paruchuri <mparuchuri@google.com>
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4253328
> Reviewed-by: Wai-Hong Tam <waihong@google.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Bug=b:266972341,b:271933192
Change-Id: If44efa3f290f2e8644050d86a523470c8bf34d8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4314488
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Auto-Submit: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Tested-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/dts')
-rw-r--r-- | zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml | 6 |
1 files changed, 0 insertions, 6 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 afc716296d..0ec9bdfbb0 100644 --- a/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml +++ b/zephyr/dts/bindings/cros_flash/cros-ec,flash-layout.yaml @@ -37,9 +37,3 @@ 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. |