summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-16 20:59:01 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-16 20:59:01 +0000
commit519419b476a5e5eaa364151ca33da8055a6f7f80 (patch)
treec03010b3c074c2ca7140c25546b8d20b2c43fea5 /util/superiotool/superiotool.h
parent4cb7e717327add9165e30cca537225044bdc0fdd (diff)
downloadcoreboot-519419b476a5e5eaa364151ca33da8055a6f7f80.tar.xz
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
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index f7c715eb66..904007cbdf 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -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 */