diff options
author | Brian Norris <briannorris@chromium.org> | 2023-06-22 11:07:18 -0700 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2023-07-18 01:17:04 +0000 |
commit | e08899fcf4127de5cb2ad2dd134539d41f7e33b0 (patch) | |
tree | 19cd45fa1c6bc251967ea948355e7c44b81b2535 /libflashrom.map | |
parent | 91aa2d85269fa8cf214e3eeb9e9df60e874be0f2 (diff) | |
download | flashrom-e08899fcf4127de5cb2ad2dd134539d41f7e33b0.tar.gz flashrom-e08899fcf4127de5cb2ad2dd134539d41f7e33b0.tar.bz2 flashrom-e08899fcf4127de5cb2ad2dd134539d41f7e33b0.zip |
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>
Diffstat (limited to 'libflashrom.map')
-rw-r--r-- | libflashrom.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libflashrom.map b/libflashrom.map index e3c7a769f..77abf727d 100644 --- a/libflashrom.map +++ b/libflashrom.map @@ -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; |