Split out a dump_superio() function from ite.c, and make it slightly more

generic, so that we can use it for other Super I/Os, too.

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@2779 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2007-09-16 20:59:01 +00:00
parent 4cb7e71732
commit 519419b476
3 changed files with 65 additions and 46 deletions

View File

@@ -49,6 +49,8 @@ struct superio_registers {
/* superiotool.c */
unsigned char regval(unsigned short port, unsigned char reg);
void regwrite(unsigned short port, unsigned char reg, unsigned char val);
void dump_superio(const char *name, const struct superio_registers reg_table[],
unsigned short port, unsigned short id);
void probe_superio(unsigned short port);
/* fintek.c */