diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-01-06 14:58:30 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2022-01-10 12:17:46 +0000 |
commit | 52652348f4357869fb0b16f390c256f3af97b7e5 (patch) | |
tree | c004d7891012d360932f7199549fa59a4a4ebce5 | |
parent | 180b046eb2b827d90241b13732385f95ed9a060f (diff) | |
download | flashrom-52652348f4357869fb0b16f390c256f3af97b7e5.tar.gz flashrom-52652348f4357869fb0b16f390c256f3af97b7e5.tar.bz2 flashrom-52652348f4357869fb0b16f390c256f3af97b7e5.zip |
ogp_spi: remove unused rget_io_perms()
The ogp_spi programmer does not use x86 IO Ports. Remove the dependency
to it.
Change-Id: I1f3f34e33f77159fa0cdea150e1f408ce9d943f0
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60847
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | ogp_spi.c | 4 |
2 files changed, 0 insertions, 5 deletions
@@ -130,7 +130,6 @@ DEPENDS_ON_X86_PORT_IO := \ CONFIG_NIC3COM \ CONFIG_NICNATSEMI \ CONFIG_NICREALTEK \ - CONFIG_OGP_SPI \ CONFIG_RAYER_SPI \ CONFIG_SATAMV \ CONFIG_SATASII \ @@ -19,7 +19,6 @@ #include "flash.h" #include "programmer.h" #include "hwaccess.h" -#include "hwaccess_x86_io.h" #include "hwaccess_physmap.h" #include "platform/pci.h" @@ -142,9 +141,6 @@ static int ogp_spi_init(void) } free(type); - if (rget_io_perms()) - return 1; - dev = pcidev_init(ogp_spi, PCI_BASE_ADDRESS_0); if (!dev) return 1; |