diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-02-04 21:37:59 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-02-04 21:37:59 +0000 |
commit | 5b74fbcf67a7119903ba83db122520666566f1ee (patch) | |
tree | b3e720863f7cad046cc51f8f6b6549c2ab171907 /programmer.h | |
parent | c416116446be7e62193f0091aed3019ffe51ee7d (diff) | |
download | flashrom-5b74fbcf67a7119903ba83db122520666566f1ee.tar.gz |
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.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1258 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 12 |
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); |