summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-06-29 12:23:50 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-12 08:13:13 +0200
commita89da0969efe52ca4474867966152cbe6c92ca21 (patch)
tree338972c60b72d06e4ee1044d43af2c3dec74631c /util/superiotool/superiotool.h
parent975ffc2e0f5e796384bebf6fce19b47dc2077f6a (diff)
superiotool: Add support for function to dump superio chip data registers
Add new function dump_data() to dump a bank of superio data registers. Change-Id: I13a58d87c14d319cfcdea1ec1d54c2b110d90f9f Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-on: http://review.coreboot.org/1149 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 94918b8867..7a0b7f69c5 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -174,6 +174,7 @@ const char *get_superio_name(const struct superio_registers reg_table[],
void dump_superio(const char *name, const struct superio_registers reg_table[],
uint16_t port, uint16_t id, uint8_t ldn_sel);
void dump_io(uint16_t iobase, uint16_t length);
+void dump_data(uint16_t iobase, int bank);
void probing_for(const char *vendor, const char *info, uint16_t port);
void print_vendor_chips(const char *vendor,
const struct superio_registers reg_table[]);