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>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/60848
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Original-Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72276
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/Makefile b/Makefile
index 2c3d328..891848d 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,6 @@
CONFIG_NICREALTEK \
CONFIG_RAYER_SPI \
CONFIG_SATAMV \
- CONFIG_SATASII \
DEPENDS_ON_LIBPCI := \
CONFIG_ATAHPT \
diff --git a/satasii.c b/satasii.c
index 886559d..901f48f 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"
@@ -73,9 +72,6 @@
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;