aboutsummaryrefslogtreecommitdiffstats
path: root/atavia.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 14:36:10 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:16:58 +0000
commit068e2c0ea5c07dd3bae2f981b01587529468e010 (patch)
treec8634a1a81ba7ab84b644393764359df98ba80ce /atavia.c
parentb5dc7418e22c15b83e412419099a6d311c5f9f66 (diff)
downloadflashrom-068e2c0ea5c07dd3bae2f981b01587529468e010.tar.gz
flashrom-068e2c0ea5c07dd3bae2f981b01587529468e010.tar.bz2
flashrom-068e2c0ea5c07dd3bae2f981b01587529468e010.zip
atavia: remove unused rget_io_perms()
The atavia programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: I1fa866b3b07adf5f7a51d58f53d6cad1f88d7210 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60841 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 'atavia.c')
-rw-r--r--atavia.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/atavia.c b/atavia.c
index 8109768a..e8bc9454 100644
--- a/atavia.c
+++ b/atavia.c
@@ -20,7 +20,6 @@
#include <string.h>
#include "flash.h"
#include "programmer.h"
-#include "hwaccess_x86_io.h"
#include "platform/pci.h"
#define PCI_VENDOR_ID_VIA 0x1106
@@ -164,9 +163,6 @@ static int atavia_init(void)
}
free(arg);
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(ata_via, PCI_ROM_ADDRESS); /* Actually no BAR setup needed at all. */
if (!dev)
return 1;