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
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c
index 13ad4a7..cd612e8 100644
--- a/util/superiotool/smsc.c
+++ b/util/superiotool/smsc.c
@@ -69,6 +69,7 @@
 	       get_superio_name(reg_table, id), id, rev, port);
 
 	dump_superio("SMSC", reg_table, port, id);
+	dump_superio_readable(port); /* TODO */
 
 	exit_conf_mode_smsc(port);
 }