diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-08-17 08:24:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-08-17 08:24:01 +0000 |
commit | e7b7ae23e688fb883003aed42f614bcfa977894e (patch) | |
tree | d1d81cd788d441cb83a6e9d9db41d17cc7ccf5f6 /util/superiotool/superiotool.c | |
parent | 0e480ca6779a1fdce8808471c00c368faf37d4e4 (diff) | |
download | coreboot-e7b7ae23e688fb883003aed42f614bcfa977894e.tar.xz |
Add support for Fintek F81216D/DG/AD
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5708 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.c')
-rw-r--r-- | util/superiotool/superiotool.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.c b/util/superiotool/superiotool.c index 2afc2bfa62..2defad1d5c 100644 --- a/util/superiotool/superiotool.c +++ b/util/superiotool/superiotool.c @@ -58,11 +58,23 @@ void exit_conf_mode_winbond_fintek_ite_8787(uint16_t port) regwrite(port, 0x02, 0x02); /* ITE */ } +void enter_conf_mode_fintek_7777(uint16_t port) +{ + OUTB(0x77, port); + OUTB(0x77, port); +} + +void exit_conf_mode_fintek_7777(uint16_t port) +{ + OUTB(0xaa, port); /* Fintek */ +} + int superio_unknown(const struct superio_registers reg_table[], uint16_t id) { return !strncmp(get_superio_name(reg_table, id), "<unknown>", 9); } + const char *get_superio_name(const struct superio_registers reg_table[], uint16_t id) { |