summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-06 14:39:30 +0100
committerNico Huber <nico.h@gmx.de>2022-01-10 12:17:06 +0000
commit9113aab1759f3cdcfc8ac21779bf189f939995a1 (patch)
tree22f5ae3f0613b8e0d29f85a9009f0439dfdf34ba
parent068e2c0ea5c07dd3bae2f981b01587529468e010 (diff)
downloadflashrom-9113aab1759f3cdcfc8ac21779bf189f939995a1.tar.gz
flashrom-9113aab1759f3cdcfc8ac21779bf189f939995a1.tar.bz2
flashrom-9113aab1759f3cdcfc8ac21779bf189f939995a1.zip
drkaiser: remove unused rget_io_perms()
The drkaiser programmer does not use x86 IO Ports. Remove the dependency to it. Change-Id: I86bad947298a1166ff1e768f7d0b75a90e574696 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60842 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--Makefile1
-rw-r--r--drkaiser.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a91438277..595c9cfb8 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
- CONFIG_DRKAISER \
CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \
CONFIG_NIC3COM \
diff --git a/drkaiser.c b/drkaiser.c
index 0930c1fff..373893097 100644
--- a/drkaiser.c
+++ b/drkaiser.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"
@@ -68,9 +67,6 @@ static int drkaiser_init(void)
struct pci_dev *dev = NULL;
uint32_t addr;
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(drkaiser_pcidev, PCI_BASE_ADDRESS_2);
if (!dev)
return 1;