aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathon Hall <jonathon.hall@puri.sm>2022-10-03 16:19:57 -0400
committerAngel Pons <th3fanbus@gmail.com>2022-10-08 18:45:32 +0000
commit7c40ba24fe73f820370d99a35ff071d667ef7c74 (patch)
tree018c486708284151db36a67ce3c4faf221f6d277 /include
parenta021cd03809ffc08c477e657993d002c96b8541a (diff)
downloadflashrom-7c40ba24fe73f820370d99a35ff071d667ef7c74.tar.gz
flashrom-7c40ba24fe73f820370d99a35ff071d667ef7c74.tar.bz2
flashrom-7c40ba24fe73f820370d99a35ff071d667ef7c74.zip
flashrom.c: Remove custom mappers from opaque_master
No opaque masters have a custom mapper. The returned chipaddr is not fed back into the read/write/erase functions, so this would only be useful for side effects. Change-Id: I36f05154edda371b51f8ff416f019837ff1c243d Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68092 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/programmer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/programmer.h b/include/programmer.h
index 4b5bf92a..bfce5d6f 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -398,8 +398,6 @@ int wbsio_check_for_spi(void);
/* opaque.c */
struct opaque_master {
- void *(*map_flash_region) (const char *descr, uintptr_t phys_addr, size_t len);
- void (*unmap_flash_region) (void *virt_addr, size_t len);
int max_data_read;
int max_data_write;
/* Specific functions for this master */