Jonathon Hall has uploaded this change for review.

View Change

dummyflasher.c: Remove custom mapper from opaque_master

Dummy doesn't need a custom mapper on opaque_master; the returned
address is not used and the mapper has no side effects.

This is the only remaining opaque master with a custom mapper, so this
permits removing custom mapper support from opaque masters.

Change-Id: I76ae3e0c2e91ecba4fd320941bd1eff038050731
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
---
M dummyflasher.c
1 file changed, 16 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/91/68091/1
diff --git a/dummyflasher.c b/dummyflasher.c
index ad734f0..22f392a 100644
--- a/dummyflasher.c
+++ b/dummyflasher.c
@@ -947,8 +947,6 @@
};

static const struct opaque_master opaque_master_dummyflasher = {
- .map_flash_region = dummy_map,
- .unmap_flash_region = dummy_unmap,
.probe = probe_variable_size,
.read = dummy_opaque_read,
.write = dummy_opaque_write,

To view, visit change 68091. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I76ae3e0c2e91ecba4fd320941bd1eff038050731
Gerrit-Change-Number: 68091
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathon Hall <jonathon.hall@puri.sm>
Gerrit-MessageType: newchange