mirror of
				https://review.coreboot.org/flashrom.git
				synced 2025-11-04 07:00:39 +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:
		
				
					committed by
					
						
						Nico Huber
					
				
			
			
				
	
			
			
			
						parent
						
							52652348f4
						
					
				
				
					commit
					2306150c6f
				
			
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							@@ -132,7 +132,6 @@ DEPENDS_ON_X86_PORT_IO := \
 | 
				
			|||||||
	CONFIG_NICREALTEK \
 | 
						CONFIG_NICREALTEK \
 | 
				
			||||||
	CONFIG_RAYER_SPI \
 | 
						CONFIG_RAYER_SPI \
 | 
				
			||||||
	CONFIG_SATAMV \
 | 
						CONFIG_SATAMV \
 | 
				
			||||||
	CONFIG_SATASII \
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
DEPENDS_ON_LIBPCI := \
 | 
					DEPENDS_ON_LIBPCI := \
 | 
				
			||||||
	CONFIG_ATAHPT \
 | 
						CONFIG_ATAHPT \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "programmer.h"
 | 
					#include "programmer.h"
 | 
				
			||||||
#include "hwaccess.h"
 | 
					#include "hwaccess.h"
 | 
				
			||||||
#include "hwaccess_x86_io.h"
 | 
					 | 
				
			||||||
#include "hwaccess_physmap.h"
 | 
					#include "hwaccess_physmap.h"
 | 
				
			||||||
#include "platform/pci.h"
 | 
					#include "platform/pci.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -102,9 +101,6 @@ static int satasii_init(void)
 | 
				
			|||||||
	uint32_t addr;
 | 
						uint32_t addr;
 | 
				
			||||||
	uint16_t reg_offset;
 | 
						uint16_t reg_offset;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (rget_io_perms())
 | 
					 | 
				
			||||||
		return 1;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	dev = pcidev_init(satas_sii, PCI_BASE_ADDRESS_0);
 | 
						dev = pcidev_init(satas_sii, PCI_BASE_ADDRESS_0);
 | 
				
			||||||
	if (!dev)
 | 
						if (!dev)
 | 
				
			||||||
		return 1;
 | 
							return 1;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user