From 7c40ba24fe73f820370d99a35ff071d667ef7c74 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Mon, 3 Oct 2022 16:19:57 -0400 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/68092 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- include/programmer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3