1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

nicintel_spi: remove unused rget_io_perms()

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

Change-Id: I3e7451eceb1f01de21da934c9559dbf2f06e7e54
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60846
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Thomas Heijligen 2022-01-06 14:56:21 +01:00 committed by Nico Huber
parent 0c3bdd9fc6
commit 180b046eb2
2 changed files with 0 additions and 5 deletions

View File

@ -128,7 +128,6 @@ DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAPROMISE \ CONFIG_ATAPROMISE \
CONFIG_INTERNAL \ CONFIG_INTERNAL \
CONFIG_NIC3COM \ CONFIG_NIC3COM \
CONFIG_NICINTEL_SPI \
CONFIG_NICNATSEMI \ CONFIG_NICNATSEMI \
CONFIG_NICREALTEK \ CONFIG_NICREALTEK \
CONFIG_OGP_SPI \ CONFIG_OGP_SPI \

View File

@ -35,7 +35,6 @@
#include "flash.h" #include "flash.h"
#include "programmer.h" #include "programmer.h"
#include "hwaccess.h" #include "hwaccess.h"
#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h" #include "hwaccess_physmap.h"
#include "platform/pci.h" #include "platform/pci.h"
@ -293,9 +292,6 @@ static int nicintel_spi_init(void)
{ {
struct pci_dev *dev = NULL; struct pci_dev *dev = NULL;
if (rget_io_perms())
return 1;
dev = pcidev_init(nics_intel_spi, PCI_BASE_ADDRESS_0); dev = pcidev_init(nics_intel_spi, PCI_BASE_ADDRESS_0);
if (!dev) if (!dev)
return 1; return 1;