mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
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>
This commit is contained in:

committed by
Angel Pons

parent
a021cd0380
commit
7c40ba24fe
@ -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 */
|
||||
|
Reference in New Issue
Block a user