mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
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>
This commit is contained in:
parent
068e2c0ea5
commit
9113aab175
1
Makefile
1
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 \
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user