summaryrefslogtreecommitdiffstats
path: root/satasii.c
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 /satasii.c
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>
Diffstat (limited to 'satasii.c')
-rw-r--r--satasii.c4
1 files changed, 0 insertions, 4 deletions
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;