aboutsummaryrefslogtreecommitdiffstats
path: root/include/flash.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-05-16 15:31:42 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-05-17 02:20:58 +0000
commitdc6f7fb0a5189b6f5fdfe3084a2b243bd6c6c64d (patch)
treedf1f93d51024ab1fff84d0fcd09d33d269fb1b77 /include/flash.h
parent9d869c447d660ef99b9db6c94322f7df41eb8e6f (diff)
downloadflashrom-dc6f7fb0a5189b6f5fdfe3084a2b243bd6c6c64d.tar.gz
flashrom-dc6f7fb0a5189b6f5fdfe3084a2b243bd6c6c64d.tar.bz2
flashrom-dc6f7fb0a5189b6f5fdfe3084a2b243bd6c6c64d.zip
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>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/flash.h b/include/flash.h
index 89d57377..27ade09b 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -266,8 +266,6 @@ struct flashchip {
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;