diff options
Diffstat (limited to 'include/libflashrom.h')
-rw-r--r-- | include/libflashrom.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libflashrom.h b/include/libflashrom.h index 490ef03b7..e87776be1 100644 --- a/include/libflashrom.h +++ b/include/libflashrom.h @@ -421,6 +421,16 @@ int flashrom_layout_add_region(struct flashrom_layout *layout, size_t start, siz */ int flashrom_layout_include_region(struct flashrom_layout *layout, const char *name); /** + * @brief Mark given region as not included. + * + * @param layout The layout to alter. + * @param name The name of the region to exclude. + * + * @return 0 on success, + * 1 if the given name can't be found. + */ +int flashrom_layout_exclude_region(struct flashrom_layout *layout, const char *name); +/** * @brief Get given region's offset and length. * * @param[in] layout The existing layout. |