From 52652348f4357869fb0b16f390c256f3af97b7e5 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Thu, 6 Jan 2022 14:58:30 +0100 Subject: ogp_spi: remove unused rget_io_perms() The ogp_spi programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: I1f3f34e33f77159fa0cdea150e1f408ce9d943f0 Signed-off-by: Thomas Heijligen Reviewed-on: https://review.coreboot.org/c/flashrom/+/60847 Reviewed-by: Angel Pons Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- ogp_spi.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ogp_spi.c') diff --git a/ogp_spi.c b/ogp_spi.c index d4218d14..830cfe7f 100644 --- a/ogp_spi.c +++ b/ogp_spi.c @@ -19,7 +19,6 @@ #include "flash.h" #include "programmer.h" #include "hwaccess.h" -#include "hwaccess_x86_io.h" #include "hwaccess_physmap.h" #include "platform/pci.h" @@ -142,9 +141,6 @@ static int ogp_spi_init(void) } free(type); - if (rget_io_perms()) - return 1; - dev = pcidev_init(ogp_spi, PCI_BASE_ADDRESS_0); if (!dev) return 1; -- cgit v1.2.3