summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--atavia.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9a6d7b049..a91438277 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,6 @@ DEPENDS_ON_X86_MSR := \
DEPENDS_ON_X86_PORT_IO := \
CONFIG_ATAHPT \
CONFIG_ATAPROMISE \
- CONFIG_ATAVIA \
CONFIG_DRKAISER \
CONFIG_GFXNVIDIA \
CONFIG_INTERNAL \
diff --git a/atavia.c b/atavia.c
index 8109768a7..e8bc94543 100644
--- a/atavia.c
+++ b/atavia.c
@@ -20,7 +20,6 @@
#include <string.h>
#include "flash.h"
#include "programmer.h"
-#include "hwaccess_x86_io.h"
#include "platform/pci.h"
#define PCI_VENDOR_ID_VIA 0x1106
@@ -164,9 +163,6 @@ static int atavia_init(void)
}
free(arg);
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(ata_via, PCI_ROM_ADDRESS); /* Actually no BAR setup needed at all. */
if (!dev)
return 1;