summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 14:41:53 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:17:18 +0000
commit583c15fc659eb81f4e61902ac5abbd845e4ebbb6 (patch)
treedf11d8bba731961508008d9fc18c677e93c88eb3
parent9113aab1759f3cdcfc8ac21779bf189f939995a1 (diff)
downloadflashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.tar.gz
flashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.tar.bz2
flashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.zip
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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60843 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--gfxnvidia.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 595c9cfb8..785936206 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
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 30c94b905..535467eaf 100644
--- a/gfxnvidia.c
+++ b/gfxnvidia.c
@@ -19,7 +19,6 @@
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@@ -89,9 +88,6 @@ static int gfxnvidia_init(void)
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;