mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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>
This commit is contained in:
parent
50847804a9
commit
0c3bdd9fc6
1
Makefile
1
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 \
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user