Luc Verhaegen has uploaded this change for review.
ati: map mmio
Change-Id: Ifaf964aa7ff12e2397aaec3c9aaae07a7ac9309a
Signed-off-by: Luc Verhaegen <libv@skynet.be>
---
M ati_spi.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/29086/1
diff --git a/ati_spi.c b/ati_spi.c
index ba672f7..2db0681 100644
--- a/ati_spi.c
+++ b/ati_spi.c
@@ -37,10 +37,16 @@
ati_spi_init(void)
{
struct flashrom_pci_device *device;
+ const struct ati_spi_pci_private *private;
device = flashrom_pci_init(ati_spi_pci_devices);
if (!device)
return 1;
+ private = device->private;
+
+ if (flashrom_pci_mmio_map(device, private->io_bar))
+ return 1;
+
return 0;
}
To view, visit change 29086. To unsubscribe, or for help writing mail filters, visit settings.