From 2306150c6f393295ce7d99382a74e078d74eeb8b Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Thu, 6 Jan 2022 15:01:43 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/60848 Reviewed-by: Angel Pons Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- Makefile | 1 - satasii.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Makefile b/Makefile index b351990b6..b8287a909 100644 --- a/Makefile +++ b/Makefile @@ -132,7 +132,6 @@ DEPENDS_ON_X86_PORT_IO := \ CONFIG_NICREALTEK \ CONFIG_RAYER_SPI \ CONFIG_SATAMV \ - CONFIG_SATASII \ DEPENDS_ON_LIBPCI := \ CONFIG_ATAHPT \ diff --git a/satasii.c b/satasii.c index f9cb5daa8..a27fc295a 100644 --- a/satasii.c +++ b/satasii.c @@ -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; -- cgit v1.2.3