atavia: remove unused rget_io_perms()
The atavia programmer does not use x86 IO Ports. Remove the dependency
to it.
Change-Id: I1fa866b3b07adf5f7a51d58f53d6cad1f88d7210
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/60841
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/+/72269
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/Makefile b/Makefile
index b5f6f31..5be77b7 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,6 @@
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
- CONFIG_ATAVIA \
CONFIG_DRKAISER \
CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \
diff --git a/atavia.c b/atavia.c
index 97df998..368c169 100644
--- a/atavia.c
+++ b/atavia.c
@@ -20,7 +20,6 @@
#include <string.h>
#include "flash.h"
#include "programmer.h"
-#include "hwaccess_x86_io.h"
#include "platform/pci.h"
#define PCI_VENDOR_ID_VIA 0x1106
@@ -140,9 +139,6 @@
}
free(arg);
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(ata_via, PCI_ROM_ADDRESS); /* Actually no BAR setup needed at all. */
if (!dev)
return 1;