Thomas Heijligen has uploaded this change for review.

View Change

gfxnvidia: remove unused rget_io_perms()

The gfxnvidia programmer does not use x86 IO Prots. Remove the
dependency to it.

Change-Id: I1f0341390ccb698bc435760f4ead7de54e429a6e
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M Makefile
M gfxnvidia.c
2 files changed, 0 insertions(+), 5 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/43/60843/1
diff --git a/Makefile b/Makefile
index 595c9cf..7859362 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,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 30c94b9..535467e 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 @@
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;

To view, visit change 60843. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1f0341390ccb698bc435760f4ead7de54e429a6e
Gerrit-Change-Number: 60843
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newchange