mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
cli_classic.c: implement set_wp_region operation
set_wp_region allows to set the wp_range based on a layout region. Signed-off-by: Daniel Campello <campello@chromium.org> Change-Id: Ibad68a038ab38b9986b0d8b5f5eb6c73b20ef381 Reviewed-on: https://review.coreboot.org/c/flashrom/+/52531 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
6509912a1d
commit
7367f77aa4
2
layout.h
2
layout.h
@ -65,6 +65,8 @@ struct flashrom_layout *get_global_layout(void);
|
||||
struct flashrom_flashctx;
|
||||
const struct flashrom_layout *get_layout(const struct flashrom_flashctx *const flashctx);
|
||||
|
||||
int get_region_range(struct flashrom_layout *const l, const char *name,
|
||||
unsigned int *start, unsigned int *len);
|
||||
int process_include_args(struct flashrom_layout *l, const struct layout_include_args *const args);
|
||||
const struct romentry *layout_next_included_region(const struct flashrom_layout *, chipoff_t);
|
||||
const struct romentry *layout_next_included(const struct flashrom_layout *, const struct romentry *);
|
||||
|
Reference in New Issue
Block a user