diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 02:34:51 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 02:34:51 +0000 |
commit | 8991302f5450fd1a02eb107a6a0fc491cc437c8c (patch) | |
tree | 10582f42eab9611e9916477c07683a37ebe56b0c /util/flashrom/flash.h | |
parent | 732a229a106d5e571ec2d30dcee87afe612452dc (diff) |
flashrom: Export Winbond SuperIO register access functions in board_enable.c.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3909 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 8b8553826d..317155a340 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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); |