Thomas Heijligen has uploaded this change for review.
ogp_spi: remove unused rget_io_perms()
The ogp_spi programmer does not use x86 IO Prots. Remove the dependency
to it.
Change-Id: I1f3f34e33f77159fa0cdea150e1f408ce9d943f0
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
---
M Makefile
M ogp_spi.c
2 files changed, 0 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/47/60847/1
diff --git a/Makefile b/Makefile
index 34d517e..b351990 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,6 @@
CONFIG_NIC3COM \
CONFIG_NICNATSEMI \
CONFIG_NICREALTEK \
- CONFIG_OGP_SPI \
CONFIG_RAYER_SPI \
CONFIG_SATAMV \
CONFIG_SATASII \
diff --git a/ogp_spi.c b/ogp_spi.c
index d4218d1..830cfe7 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 @@
}
free(type);
- if (rget_io_perms())
- return 1;
-
dev = pcidev_init(ogp_spi, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;
To view, visit change 60847. To unsubscribe, or for help writing mail filters, visit settings.