summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 15:07:18 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:18:00 +0000
commit00b8e8552876a9d050c9f73e853a84965452ba40 (patch)
treebd0d2fc1c39070aba999001299bf1e9132f8903f
parent2306150c6f393295ce7d99382a74e078d74eeb8b (diff)
downloadflashrom-00b8e8552876a9d050c9f73e853a84965452ba40.tar.gz
flashrom-00b8e8552876a9d050c9f73e853a84965452ba40.tar.bz2
flashrom-00b8e8552876a9d050c9f73e853a84965452ba40.zip
it8212: remove unused rget_io_perms()
The it8212 programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: Iab859fb6be6cab094c9c6ce4b3e8eac0e5ff84ab Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60869 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--it8212.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/it8212.c b/it8212.c
index 6488b1543..ca82d9c4d 100644
--- a/it8212.c
+++ b/it8212.c
@@ -18,7 +18,6 @@
#include "flash.h"
#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@@ -58,9 +57,6 @@ static const struct par_master par_master_it8212 = {
static int it8212_init(void)
{
- if (rget_io_perms())
- return 1;
-
struct pci_dev *dev = pcidev_init(devs_it8212, PCI_ROM_ADDRESS);
if (!dev)
return 1;