summaryrefslogtreecommitdiffstats
path: root/ogp_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ogp_spi.c')
-rw-r--r--ogp_spi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ogp_spi.c b/ogp_spi.c
index d4218d143..830cfe7f4 100644
--- a/ogp_spi.c
+++ b/ogp_spi.c
@@ -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;