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
This commit is contained in:
committed by
Stefan Reinauer
parent
0e480ca677
commit
e7b7ae23e6
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user