path: root/flash.h
diff options
authorCarl-Daniel Hailfinger <>2009-07-01 00:02:23 +0000
committerCarl-Daniel Hailfinger <>2009-07-01 00:02:23 +0000
commitfeea27222877521548b369e3eb49197f804f7f9c (patch)
tree7976f18e7aa76f8a7e2f04e09e8a989bec3a1d9b /flash.h
parent9cb867b57162d028e5819f72e9e504af242d19b4 (diff)
ft2232_spi: Allow runtime selection of FT2232H vs. FT4232H and interface A vs
B. Corresponding to flashrom svn r638. Signed-off-by: Carl-Daniel Hailfinger <> Tested-by: Jakob Bornecrantz <> Acked-by: Jakob Bornecrantz <>
Diffstat (limited to 'flash.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 4649bba..d978624 100644
--- a/flash.h
+++ b/flash.h
@@ -368,6 +368,9 @@ uint8_t satasii_chip_readb(const chipaddr addr);
extern struct pcidev_status satas_sii[];
/* ft2232_spi.c */
+#define FTDI_FT2232H 0x6010
+#define FTDI_FT4232H 0x6011
+extern char *ft2232spi_param;
int ft2232_spi_init(void);
int ft2232_spi_command(unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);
int ft2232_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len);
OpenPOWER on IntegriCloud