diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-20 23:37:56 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-20 23:37:56 +0000 |
commit | b4db2209f9e01e1a013cc33356bceec57c3a3c80 (patch) | |
tree | efd43f13e63088323dcbbffc9f431c692f3cd819 /util/superiotool/superiotool.h | |
parent | 0702469f163e69257a7cf079eb40ae99f53c815b (diff) | |
download | coreboot-b4db2209f9e01e1a013cc33356bceec57c3a3c80.tar.xz |
Decouple the ITE code from fintek.c, it doesn't belong there.
Add common 'enter configuration mode' function for most Winbond/Fintek/ITE
chips which use the 0x87 0x87 sequence for that reason.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2794 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r-- | util/superiotool/superiotool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h index b0d12cd0dd..9b82b4cf9d 100644 --- a/util/superiotool/superiotool.h +++ b/util/superiotool/superiotool.h @@ -70,6 +70,8 @@ struct superio_registers { /* superiotool.c */ uint8_t regval(uint16_t port, uint8_t reg); void regwrite(uint16_t port, uint8_t reg, uint8_t val); +void enter_conf_mode_winbond_fintek_ite_8787(uint16_t port); +void exit_conf_mode_winbond_fintek_ite_8787(uint16_t port); int superio_unknown(const struct superio_registers reg_table[], uint16_t id); const char *get_superio_name(const struct superio_registers reg_table[], uint16_t id); |