mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
libflashrom: Add layout "exclude" API
Layouts can be expensive to derive (reading from flash), so we might want to reuse a layout for different purposes. Today, it's not possible to undo a flashrom_layout_include_region() operation (to, say, operate on a different region). Add such an API. Change-Id: I7ea3e0674f25e34bf2cfc8f464ae7ca1c1a3fbfd Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/76005 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
This commit is contained in:

committed by
Edward O'Callaghan

parent
91aa2d8526
commit
e08899fcf4
@ -15,6 +15,7 @@ LIBFLASHROM_1.0 {
|
||||
flashrom_image_write;
|
||||
flashrom_init;
|
||||
flashrom_layout_add_region;
|
||||
flashrom_layout_exclude_region;
|
||||
flashrom_layout_get_region_range;
|
||||
flashrom_layout_include_region;
|
||||
flashrom_layout_new;
|
||||
|
Reference in New Issue
Block a user