Thomas Heijligen has uploaded this change for review.

View Change

nicintel_spi: remove unused rget_io_perms()

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

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

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/46/60846/1
diff --git a/Makefile b/Makefile
index 93fc657..34d517e 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,6 @@
CONFIG_ATAPROMISE \
CONFIG_INTERNAL \
CONFIG_NIC3COM \
- CONFIG_NICINTEL_SPI \
CONFIG_NICNATSEMI \
CONFIG_NICREALTEK \
CONFIG_OGP_SPI \
diff --git a/nicintel_spi.c b/nicintel_spi.c
index 852c042..004af66 100644
--- a/nicintel_spi.c
+++ b/nicintel_spi.c
@@ -35,7 +35,6 @@
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"

@@ -293,9 +292,6 @@
{
struct pci_dev *dev = NULL;

- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(nics_intel_spi, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;

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

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