summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 14:49:31 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:17:32 +0000
commit0c3bdd9fc6cf98f7599b5aa7bfd64ca975b946ee (patch)
tree5c1c176c9bf8193b430229813d94811e415b3c7c
parent50847804a9de88379978855b2f6805e3e5824495 (diff)
downloadflashrom-0c3bdd9fc6cf98f7599b5aa7bfd64ca975b946ee.tar.gz
flashrom-0c3bdd9fc6cf98f7599b5aa7bfd64ca975b946ee.tar.bz2
flashrom-0c3bdd9fc6cf98f7599b5aa7bfd64ca975b946ee.zip
nicintel_eeprom: remove unused rget_io_perms()
The nicintel_eeprom programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: I5fd42572fd29f5d7fd749c2836eac3e68c947946 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60845 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--nicintel_eeprom.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index da38d6bc5..93fc65716 100644
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,6 @@ DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAPROMISE \
CONFIG_INTERNAL \
CONFIG_NIC3COM \
- CONFIG_NICINTEL_EEPROM \
CONFIG_NICINTEL_SPI \
CONFIG_NICNATSEMI \
CONFIG_NICREALTEK \
diff --git a/nicintel_eeprom.c b/nicintel_eeprom.c
index 7b92958bd..ea0e768da 100644
--- a/nicintel_eeprom.c
+++ b/nicintel_eeprom.c
@@ -35,7 +35,6 @@
#include "spi.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@@ -462,9 +461,6 @@ static const struct opaque_master opaque_master_nicintel_ee_i210 = {
static int nicintel_ee_init(void)
{
- if (rget_io_perms())
- return 1;
-
struct pci_dev *dev = pcidev_init(nics_intel_ee, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;