summaryrefslogtreecommitdiff
path: root/util/superiotool/ite.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-20 23:57:44 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-20 23:57:44 +0000
commiteddc473ce0753bfd8aa55cc19bcec991866694fd (patch)
treec710be3d289d2d649572bf59cc429e2edc44cddb /util/superiotool/ite.c
parentb4db2209f9e01e1a013cc33356bceec57c3a3c80 (diff)
Add -D / --dump-readable option which prints the Super I/O register
contents in human-readable form (e.g. "COM1 enabled" etc.) instead of the hex-table format from -d / --dump. 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@2795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/ite.c')
-rw-r--r--util/superiotool/ite.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 1a65e2cff2..fbda547801 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -194,12 +194,6 @@ const static struct superio_registers reg_table[] = {
{EOT}
};
-/* TODO: Drop this function later. */
-void dump_ite(uint16_t port, uint16_t id)
-{
- dump_superio("ITE", reg_table, port, id);
-}
-
/**
* Enable configuration sequence (ITE uses this for newer IT87[012]xF).
*
@@ -244,6 +238,7 @@ static void probe_idregs_ite_helper(uint16_t port)
get_superio_name(reg_table, id), id, chipver, port);
dump_superio("ITE", reg_table, port, id);
+ dump_superio_readable(port); /* TODO */
}
void probe_idregs_ite(uint16_t port)