diff options
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h index 0657bb1c..47d2dc31 100644 --- a/programmer.h +++ b/programmer.h @@ -403,6 +403,9 @@ struct opaque_master { int (*read) (struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); int (*write) (struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); int (*erase) (struct flashctx *flash, unsigned int blockaddr, unsigned int blocklen); + enum flashrom_wp_result (*wp_write_cfg)(struct flashctx *, const struct flashrom_wp_cfg *); + enum flashrom_wp_result (*wp_read_cfg)(struct flashrom_wp_cfg *, struct flashctx *); + enum flashrom_wp_result (*wp_get_ranges)(struct flashrom_wp_ranges **, struct flashctx *); int (*shutdown)(void *data); void *data; }; |