mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
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>
This commit is contained in:
parent
2306150c6f
commit
00b8e85528
4
it8212.c
4
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user