path: root/flash.h
diff options
authorPeter Stuge <>2009-01-26 02:34:51 +0000
committerPeter Stuge <>2009-01-26 02:34:51 +0000
commit9d9399c5b47c63648dd72ce8b699ae8cc58a2f1a (patch)
tree0cb05e641c9fe4e29e6c158e8fdceaac8ab62818 /flash.h
parent42688e5cc978e822ecc3262df8043f7b1efda55f (diff)
Export Winbond SuperIO register access functions in board_enable.c
Corresponding to flashrom svn r403 and coreboot v2 svn r3909. Signed-off-by: Peter Stuge <> Acked-by: Peter Stuge <>
Diffstat (limited to 'flash.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 8b85538..317155a 100644
--- a/flash.h
+++ b/flash.h
@@ -454,6 +454,11 @@ struct pci_dev *pci_card_find(uint16_t vendor, uint16_t device,
uint16_t card_vendor, uint16_t card_device);
/* board_enable.c */
+void w836xx_ext_enter(uint16_t port);
+void w836xx_ext_leave(uint16_t port);
+unsigned char wbsio_read(uint16_t index, uint8_t reg);
+void wbsio_write(uint16_t index, uint8_t reg, uint8_t data);
+void wbsio_mask(uint16_t index, uint8_t reg, uint8_t data, uint8_t mask);
int board_flash_enable(const char *vendor, const char *part);
void print_supported_boards(void);
OpenPOWER on IntegriCloud