Attention is currently required from: Angel Pons, Nikolai Artemiev.
Hello build bot (Jenkins), Edward O'Callaghan, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/70126
to look at the new patch set (#3).
Change subject: programmer: Add get_region to spi/opaque masters ......................................................................
programmer: Add get_region to spi/opaque masters
Add a get_region function to spi and opaque masters so that they can expose access permissions for multiple regions within the flash.
A get_region() implementation is added for the ichspi driver in a following patch.
Finally, another patch uses get_region() to make read_flash() and write_flash() skip inaccessable regions, making read, write, and erase operations work on Intel platforms with active an CSME coprocessor.
This logic will be integrated with layout in the future, but for now this moves ichspi support forward without making refactoring too hard later on.
BUG=b:260440773 BRANCH=none TEST=ninja test
Change-Id: I8c43f6b705f36ef18842a04ba6241d3a0b36b232 Signed-off-by: Nikolai Artemiev nartemiev@google.com --- M include/programmer.h 1 file changed, 39 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/26/70126/3