1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

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>
This commit is contained in:
Thomas Heijligen 2022-01-06 14:36:10 +01:00 committed by Nico Huber
parent b5dc7418e2
commit 068e2c0ea5
2 changed files with 0 additions and 5 deletions

View File

@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
CONFIG_ATAVIA \
CONFIG_DRKAISER \
CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \

View File

@ -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;