summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 15:01:43 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:17:53 +0000
commit2306150c6f393295ce7d99382a74e078d74eeb8b (patch)
tree031fbc471e2545b6340aeaf90cae7ebed21e0d6f
parent52652348f4357869fb0b16f390c256f3af97b7e5 (diff)
downloadflashrom-2306150c6f393295ce7d99382a74e078d74eeb8b.tar.gz
flashrom-2306150c6f393295ce7d99382a74e078d74eeb8b.tar.bz2
flashrom-2306150c6f393295ce7d99382a74e078d74eeb8b.zip
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>
-rw-r--r--Makefile1
-rw-r--r--satasii.c4
2 files changed, 0 insertions, 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;