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

satasii: remove unused rget_io_perms()

The satasii programmer does not use x86 IO Ports. Remove the dependency
to it.

Change-Id: I54d65561ff024d3c181d11c6518a4612c2ab0399
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60848
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 15:01:43 +01:00 committed by Nico Huber
parent 52652348f4
commit 2306150c6f
2 changed files with 0 additions and 5 deletions

View File

@ -132,7 +132,6 @@ DEPENDS_ON_X86_PORT_IO := \
CONFIG_NICREALTEK \
CONFIG_RAYER_SPI \
CONFIG_SATAMV \
CONFIG_SATASII \
DEPENDS_ON_LIBPCI := \
CONFIG_ATAHPT \

View File

@ -18,7 +18,6 @@
#include "programmer.h"
#include "hwaccess.h"
#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"
@ -102,9 +101,6 @@ static int satasii_init(void)
uint32_t addr;
uint16_t reg_offset;
if (rget_io_perms())
return 1;
dev = pcidev_init(satas_sii, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;