diff options
author | Ronald Hoogenboom <hoogenboom30@zonnet.nl> | 2008-02-25 22:32:41 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-02-25 22:32:41 +0000 |
commit | 0be73bbf3014d3e7a5d519bb6023c99374df3322 (patch) | |
tree | 723cbeb7fcf4b51347b70a4b7a016b75e22435d8 /util/superiotool/superiotool.h | |
parent | 56cf01f29d7549f11cdd329d5ca8a2e163665f3a (diff) | |
download | coreboot-0be73bbf3014d3e7a5d519bb6023c99374df3322.tar.xz |
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
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r-- | util/superiotool/superiotool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h index 5d402561a9..2ee9019b4c 100644 --- a/util/superiotool/superiotool.h +++ b/util/superiotool/superiotool.h @@ -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; |