Support for Angelbird Wings PCIe SSD (solid-state drive)
It uses a Marvell 88SX7042 SATA controller internally which has access
to a separate flash chip hosting the option ROM.
Thanks to Angelbird Ltd for sponsoring development of this driver!
I expect the code to work for that SATA controller even if it is not
part of the Angelbird SSD.
Corresponding to flashrom svn r1258.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/programmer.h b/programmer.h
index 7bd1405..1f5fa25 100644
--- a/programmer.h
+++ b/programmer.h
@@ -79,6 +79,9 @@
#if CONFIG_OGP_SPI == 1
PROGRAMMER_OGP_SPI,
#endif
+#if CONFIG_SATAMV == 1
+ PROGRAMMER_SATAMV,
+#endif
PROGRAMMER_INVALID /* This must always be the last entry. */
};
@@ -415,6 +418,15 @@
extern const struct pcidev_status ogp_spi[];
#endif
+/* satamv.c */
+#if CONFIG_SATAMV == 1
+int satamv_init(void);
+int satamv_shutdown(void);
+void satamv_chip_writeb(uint8_t val, chipaddr addr);
+uint8_t satamv_chip_readb(const chipaddr addr);
+extern const struct pcidev_status satas_mv[];
+#endif
+
/* satasii.c */
#if CONFIG_SATASII == 1
int satasii_init(void);