Thomas Heijligen has uploaded this change for review.

View Change

satasii: remove unused rget_io_perms()

The satasii programmer does not use x86 IO Prots. Remove the dependency
to it.

Change-Id: I54d65561ff024d3c181d11c6518a4612c2ab0399
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M Makefile
M satasii.c
2 files changed, 0 insertions(+), 5 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/48/60848/1
diff --git a/Makefile b/Makefile
index b351990..b8287a9 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,6 @@
CONFIG_NICREALTEK \
CONFIG_RAYER_SPI \
CONFIG_SATAMV \
- CONFIG_SATASII \

DEPENDS_ON_LIBPCI := \
CONFIG_ATAHPT \
diff --git a/satasii.c b/satasii.c
index f9cb5da..a27fc29 100644
--- a/satasii.c
+++ b/satasii.c
@@ -18,7 +18,6 @@

#include "programmer.h"
#include "hwaccess.h"
-#include "hwaccess_x86_io.h"
#include "hwaccess_physmap.h"
#include "platform/pci.h"

@@ -102,9 +101,6 @@
uint32_t addr;
uint16_t reg_offset;

- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(satas_sii, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;

To view, visit change 60848. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I54d65561ff024d3c181d11c6518a4612c2ab0399
Gerrit-Change-Number: 60848
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newchange