summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-11 18:05:42 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-11 18:05:42 +0000
commitbb297f733dc78a22d6ee0eb37560207e0c2d424a (patch)
tree8395175c9b6345f2058811636ed4fdbc5e38b945 /flash.h
parentd0478299b1d714a7001f19fb2cafeb257698a2c0 (diff)
downloadflashrom-bb297f733dc78a22d6ee0eb37560207e0c2d424a.tar.gz
flashrom-bb297f733dc78a22d6ee0eb37560207e0c2d424a.tar.bz2
flashrom-bb297f733dc78a22d6ee0eb37560207e0c2d424a.zip
Add an optional flash port parameter for IT87* SPI controllers in standalone programmer mode
If the parameter is set, the IT87* SPI driver will set the I/O base port of the IT87* SPI controller interface to the port specified in the parameter. Usage: flashrom -p it87spi=port=0x820 Corresponding to flashrom svn r646. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 9e6ca6ca5..87830329f 100644
--- a/flash.h
+++ b/flash.h
@@ -479,6 +479,7 @@ int ich_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len);
int ich_spi_write_256(struct flashchip *flash, uint8_t * buf);
/* it87spi.c */
+extern char *it87opts;
extern uint16_t it8716f_flashport;
void enter_conf_mode_ite(uint16_t port);
void exit_conf_mode_ite(uint16_t port);