Attention is currently required from: Edward O'Callaghan, Angel Pons. Hello Sam McNally, build bot (Jenkins), Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/60881
to look at the new patch set (#2).
Change subject: layout: Hoist get_region_range() into libflashrom API ......................................................................
layout: Hoist get_region_range() into libflashrom API
While using the libflashrom API to read specific regions there is no currently no general way to find the offset into the read buffer of the expected region.
flashrom_layout_include_region() probably should have returned the region offset and size if it was included. However to avoid a change in API signature we can instead hoist up get_region_range() into the API to be called after.
BUG=b:207808292 TEST=`make`.
Change-Id: I8cf95b5eaec943a51d0ea668f26a56bf6d6b4446 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M cli_classic.c M layout.c M layout.h M libflashrom.h M tests/layout.c 5 files changed, 27 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/81/60881/2