summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h
index 7bd1405..1f5fa25 100644
--- a/programmer.h
+++ b/programmer.h
@@ -79,6 +79,9 @@ enum programmer {
#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 @@ int ogp_spi_shutdown(void);
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);
OpenPOWER on IntegriCloud