mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-10-31 21:30:42 +01:00 
			
		
		
		
	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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68091 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
		 Jonathon Hall
					Jonathon Hall
				
			
				
					committed by
					
						 Angel Pons
						Angel Pons
					
				
			
			
				
	
			
			
			 Angel Pons
						Angel Pons
					
				
			
						parent
						
							277b3fa670
						
					
				
				
					commit
					a021cd0380
				
			| @@ -947,8 +947,6 @@ static const struct par_master par_master_dummyflasher = { | ||||
| }; | ||||
|  | ||||
| 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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user