coreboot-kgpe-d16/util/superiotool
Andriy Gapon c880a369de Add register definitions for W83627HF based on publicly available
specification and local testing.

Also tweak a little bit algorithm for (internal) device ID calculation:
Chips from the W83627HF/F/HG/G family have an ID of 0x52 and a multitude of
revisions (0x1x, 0x3a, 0x41, maybe more), chips from the W83627HF/GF family
have the same device ID but revisions 0xfx.

Please note that the last line of the patch simply fixes the comment
about internal device ID composition (upper half of reg 0x21 is used).
I chose the most conservative way of detecting W83627HF - only if reg
0x21 value matches 0xFx we skip the previous logic and keep using it for
all other revisions.

Signed-off-by: Andriy Gapon <avg@icyb.net.ua>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-10-19 21:03:41 +00:00
..
COPYING Add a copy of the GPL (trivial). 2007-10-03 18:56:51 +00:00
Makefile Various smaller fixes in superiotool: 2008-03-17 13:43:48 +00:00
README Add register definitions for W83627HF based on publicly available 2008-10-19 21:03:41 +00:00
ali.c Drop global register 0x07 for all Super I/Os (trivial). 2008-10-14 16:34:38 +00:00
fintek.c Drop global register 0x07 for all Super I/Os (trivial). 2008-10-14 16:34:38 +00:00
ite.c Drop global register 0x07 for all Super I/Os (trivial). 2008-10-14 16:34:38 +00:00
nsc.c Add dump support for Winbond (NSC) PC87427. Dumps available from real hardware. 2008-06-07 11:36:30 +00:00
smsc.c Drop global register 0x07 for all Super I/Os (trivial). 2008-10-14 16:34:38 +00:00
superiotool.8 Small coding style fixes and documentation updates (trivial). 2008-03-01 18:49:39 +00:00
superiotool.c Make a few array entries only as big as they absolutely need to be (trivial). 2008-03-29 01:35:21 +00:00
superiotool.h Add dump support for Winbond (NSC) PC87427. Dumps available from real hardware. 2008-06-07 11:36:30 +00:00
winbond.c Add register definitions for W83627HF based on publicly available 2008-10-19 21:03:41 +00:00

README

-------------------------------------------------------------------------------
Superiotool README
-------------------------------------------------------------------------------

Superiotool is a user-space utility which can

 - detect which Super I/O chip is soldered onto your mainboard,

 - at which configuration port it's located (usually 0x2e or 0x4e), and

 - dump all register contents of the Super I/O chip, together with the
   default values as per datasheet (to make comparing the values easy).

It is mainly used for coreboot development purposes (see coreboot.org
for details on coreboot), but it may also be useful for other things.


Installation
------------

 $ svn co svn://coreboot.org/repos/trunk/util/superiotool

 $ cd superiotool

 $ make

 $ sudo make install


Usage
-----

Please read the superiotool(8) manpage or type 'superiotool --help'.

Per default (no options) superiotool will just probe for a Super I/O
and print its vendor, name, ID, revision, and config port.

Typical usage of superiotool:

 - Probe/detect the Super I/O in your mainboard:

   $ superiotool

 - Register dump as table of hex-values of the Super I/O (if detected):

   $ superiotool -d


Supported Super I/O Chips
-------------------------

Please see http://coreboot.org/Superiotool#Supported_devices, or type

 $ superiotool -l

There's also a collection of sample register dumps from various Super I/O
chips on that web page. Please send further register dumps (either from a
proprietary BIOS and/or from coreboot) to the coreboot mailing list
(http://coreboot.org/Mailinglist).


Website and Mailing List
------------------------

The main website is http://coreboot.org/Superiotool.

For additional information, patches, and discussions, please join the
coreboot mailing list at http://coreboot.org/Mailinglist, where most
superiotool developers are subscribed.


Copyright and License
---------------------

Superiotool is copyrighted by a number of individual developers. Please
refer to the respective source code files for details.

It is licensed under the terms of the GNU General Public License (GPL),
either version 2 of the license, or (at your option) any later version.


Contributors
------------

Andriy Gapon <avg@icyb.net.ua>
Bingxun Shi <bingxunshi@gmail.com>
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
David Hendricks <david.hendricks@gmail.com>
Frieder Ferlemann <Frieder.Ferlemann@web.de>
Idwer Vollering <idwer_v@hotmail.com>
Josh Profitt <zorn169@gmail.com>
Rasmus Wiman <rasmus@wiman.org>
Robinson P. Tryon <bishop.robinson@gmail.com>
Ronald Hoogenboom <hoogenboom30@zonnet.nl>
Ronald Minnich <rminnich@gmail.com>
Stefan Reinauer <stepan@coresystems.de>
Ulf Jordan <jordan@chalmers.se>
Uwe Hermann <uwe@hermann-uwe.de>
Ward Vandewege <ward@gnu.org>