mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-10-31 13:20:42 +01:00 
			
		
		
		
	satasii: remove unused rget_io_perms()
The satasii programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: I54d65561ff024d3c181d11c6518a4612c2ab0399 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60848 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		 Thomas Heijligen
					Thomas Heijligen
				
			
				
					committed by
					
						 Nico Huber
						Nico Huber
					
				
			
			
				
	
			
			
			 Nico Huber
						Nico Huber
					
				
			
						parent
						
							52652348f4
						
					
				
				
					commit
					2306150c6f
				
			
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							| @@ -132,7 +132,6 @@ DEPENDS_ON_X86_PORT_IO := \ | ||||
| 	CONFIG_NICREALTEK \ | ||||
| 	CONFIG_RAYER_SPI \ | ||||
| 	CONFIG_SATAMV \ | ||||
| 	CONFIG_SATASII \ | ||||
|  | ||||
| DEPENDS_ON_LIBPCI := \ | ||||
| 	CONFIG_ATAHPT \ | ||||
|   | ||||
| @@ -18,7 +18,6 @@ | ||||
|  | ||||
| #include "programmer.h" | ||||
| #include "hwaccess.h" | ||||
| #include "hwaccess_x86_io.h" | ||||
| #include "hwaccess_physmap.h" | ||||
| #include "platform/pci.h" | ||||
|  | ||||
| @@ -102,9 +101,6 @@ static int satasii_init(void) | ||||
| 	uint32_t addr; | ||||
| 	uint16_t reg_offset; | ||||
|  | ||||
| 	if (rget_io_perms()) | ||||
| 		return 1; | ||||
|  | ||||
| 	dev = pcidev_init(satas_sii, PCI_BASE_ADDRESS_0); | ||||
| 	if (!dev) | ||||
| 		return 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user