gfxnvidia: remove unused rget_io_perms()
The gfxnvidia programmer does not use x86 IO Ports. Remove the
dependency to it.
Change-Id: I1f0341390ccb698bc435760f4ead7de54e429a6e
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/60843
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/+/72271
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/Makefile b/Makefile
index ae0a8ae..815952f 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,6 @@
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
- CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \
CONFIG_NIC3COM \
CONFIG_NICINTEL \
diff --git a/gfxnvidia.c b/gfxnvidia.c
index 7edcb66..ff8bc17 100644
--- a/gfxnvidia.c
+++ b/gfxnvidia.c
@@ -20,7 +20,6 @@
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@@ -82,9 +81,6 @@
struct pci_dev *dev = NULL;
uint32_t reg32;
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(gfx_nvidia, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;