1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

gfxnvidia: remove unused rget_io_perms()

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

Change-Id: I1f0341390ccb698bc435760f4ead7de54e429a6e
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60843
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:41:53 +01:00 committed by Nico Huber
parent 9113aab175
commit 583c15fc65
2 changed files with 0 additions and 5 deletions

View File

@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \
CONFIG_NIC3COM \
CONFIG_NICINTEL \

View File

@ -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 @@ static int gfxnvidia_init(void)
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;