This patch adds support to dump other registers than the primary

pnp-style configuration registers, using the new option -e/--extra-dump.
This patch only adds dumping of the Environmental Controller
configuration registers for the IT8716f chip.

Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>

I (Carl-Daniel) checked the data sheets of the whole IT87[012] series 
and although the environment controller is sometimes called fan 
controller, the location of the register is the same for all models.

Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald Hoogenboom
2008-02-25 22:32:41 +00:00
committed by Carl-Daniel Hailfinger
parent 56cf01f29d
commit 0be73bbf30
5 changed files with 62 additions and 5 deletions

View File

@@ -32,6 +32,7 @@
#define USAGE "Usage: superiotool [-d] [-l] [-V] [-v] [-h]\n\n\
-d | --dump Dump Super I/O register contents\n\
-e | --extra-dump Dump Secondary registers too (like EC registers etc.)\n\
-l | --list-supported Show the list of supported Super I/O chips\n\
-V | --verbose Verbose mode\n\
-v | --version Show the superiotool version\n\
@@ -56,7 +57,7 @@ and print its vendor, name, ID, revision, and config port.\n"
#define MAXNUMPORTS (6 + 1) /* Maximum number of Super I/O ports */
/* Command line parameters. */
extern int dump, verbose;
extern int dump, verbose, extra_dump;
extern int chip_found;