Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/flashrom/+/64373 )
Change subject: include/flash.h: Drop dead struct members ......................................................................
include/flash.h: Drop dead struct members
These were part of the original wp implementation, now dead code left over.
Change-Id: I43b25175c6ff833b822a93c4e752a28cf97d64b8 Signed-off-by: Edward O'Callaghan quasisec@google.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/64373 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Arthur Heymans arthur@aheymans.xyz Reviewed-by: Thomas Heijligen src@posteo.de Reviewed-by: Angel Pons th3fanbus@gmail.com --- M include/flash.h 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Arthur Heymans: Looks good to me, approved Thomas Heijligen: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/include/flash.h b/include/flash.h index 89d5737..27ade09 100644 --- a/include/flash.h +++ b/include/flash.h @@ -266,8 +266,6 @@ int (*unlock) (struct flashctx *flash); int (*write) (struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); int (*read) (struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); - uint8_t (*read_status) (const struct flashctx *flash); - int (*write_status) (const struct flashctx *flash, int status); struct voltage { uint16_t min; uint16_t max;