summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-05-06 22:48:01 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-05-06 22:48:01 +0000
commit821ddd07d3987bf31fb25279496dfb1757ce86e2 (patch)
tree57c496013e2629ec46ec4d35262cd5aefd0a2965 /programmer.h
parent9583841b1620f7babdeacc934ab65cbe284bc175 (diff)
downloadflashrom-821ddd07d3987bf31fb25279496dfb1757ce86e2.zip
flashrom-821ddd07d3987bf31fb25279496dfb1757ce86e2.tar.gz
Add Winbond W836xx SuperI/O detection
Add ITE IT8707F/IT8710F detection. Note that we autodetect those chips, but we don't handle their flash translation features automatically yet. Corresponding to flashrom svn r1533. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h
index 4d153e6..6f9ea8f 100644
--- a/programmer.h
+++ b/programmer.h
@@ -246,6 +246,7 @@ void print_supported_pcidevs(const struct pcidev_status *devs);
/* board_enable.c */
void w836xx_ext_enter(uint16_t port);
void w836xx_ext_leave(uint16_t port);
+void probe_superio_winbond(void);
int it8705f_write_enable(uint8_t port);
uint8_t sio_read(uint16_t port, uint8_t reg);
void sio_write(uint16_t port, uint8_t reg, uint8_t data);
@@ -290,6 +291,7 @@ extern struct superio superios[];
extern int superio_count;
#define SUPERIO_VENDOR_NONE 0x0
#define SUPERIO_VENDOR_ITE 0x1
+#define SUPERIO_VENDOR_WINBOND 0x2
#endif
#if NEED_PCI == 1
struct pci_dev *pci_dev_find_filter(struct pci_filter filter);
OpenPOWER on IntegriCloud