diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-01-06 14:41:53 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-01-10 12:17:18 +0000 |
commit | 583c15fc659eb81f4e61902ac5abbd845e4ebbb6 (patch) | |
tree | df11d8bba731961508008d9fc18c677e93c88eb3 /gfxnvidia.c | |
parent | 9113aab1759f3cdcfc8ac21779bf189f939995a1 (diff) | |
download | flashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.tar.gz flashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.tar.bz2 flashrom-583c15fc659eb81f4e61902ac5abbd845e4ebbb6.zip |
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>
Diffstat (limited to 'gfxnvidia.c')
-rw-r--r-- | gfxnvidia.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gfxnvidia.c b/gfxnvidia.c index 30c94b90..535467ea 100644 --- a/gfxnvidia.c +++ b/gfxnvidia.c @@ -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; |