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:
parent
9113aab175
commit
583c15fc65
1
Makefile
1
Makefile
@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
|
|||||||
DEPENDS_ON_X86_PORT_IO := \
|
DEPENDS_ON_X86_PORT_IO := \
|
||||||
CONFIG_ATAHPT \
|
CONFIG_ATAHPT \
|
||||||
CONFIG_ATAPROMISE \
|
CONFIG_ATAPROMISE \
|
||||||
CONFIG_GFXNVIDIA \
|
|
||||||
CONFIG_INTERNAL \
|
CONFIG_INTERNAL \
|
||||||
CONFIG_NIC3COM \
|
CONFIG_NIC3COM \
|
||||||
CONFIG_NICINTEL \
|
CONFIG_NICINTEL \
|
||||||
|
@ -19,7 +19,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"
|
||||||
|
|
||||||
@ -89,9 +88,6 @@ static int gfxnvidia_init(void)
|
|||||||
struct pci_dev *dev = NULL;
|
struct pci_dev *dev = NULL;
|
||||||
uint32_t reg32;
|
uint32_t reg32;
|
||||||
|
|
||||||
if (rget_io_perms())
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
dev = pcidev_init(gfx_nvidia, PCI_BASE_ADDRESS_0);
|
dev = pcidev_init(gfx_nvidia, PCI_BASE_ADDRESS_0);
|
||||||
if (!dev)
|
if (!dev)
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user