summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobinson P. Tryon <bishop.robinson@gmail.com>2007-10-05 13:47:04 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-05 13:47:04 +0000
commitdc81769c9c91d57b21b070f24930efc5c5b46f44 (patch)
tree3be0b3bbdd20b134528e726d04ae9c85b3cb0a27
parent5debf36d9d988a063c6d1ed98326c0d5e5520008 (diff)
downloadcoreboot-dc81769c9c91d57b21b070f24930efc5c5b46f44.tar.xz
Add dump support for the ITE IT8661F. Note that this chip will not yet
be detected, as it needs a non-standard init sequence. Minor other fix: Drop incorrect 0x2b from LDN 5 of the ITE IT8705F. Signed-off-by: Robinson P. Tryon <bishop.robinson@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2825 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/superiotool/ite.c50
1 files changed, 42 insertions, 8 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index a0086e2cbc..0367023010 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -28,6 +28,40 @@
/* Note: IT8726F has ID 0x8726 (datasheet wrongly says 0x8716). */
const static struct superio_registers reg_table[] = {
+ {0x8661, "IT8661F", {
+ /* TODO: Needs different init sequence. */
+ {NOLDN, NULL,
+ {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x20,0x21,
+ 0x22,0x23,0x24,EOT},
+ {NANA,NANA,NANA,NANA,NANA,NANA,0x00,NANA,0x86,0x61,
+ 0x00,0x00,0x00,EOT}},
+ {0x0, "Floppy",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0xf0,EOT},
+ {0x00,0x00,0x03,0xf0,0x06,0x02,0x02,0x00,EOT}},
+ {0x1, "COM1",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0xf0,EOT},
+ {0x00,0x00,0x03,0xf8,0x04,0x02,0x00,EOT}},
+ {0x2, "COM2",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0xf0,EOT},
+ {0x00,0x00,0x02,0xf8,0x03,0x02,0x00,EOT}},
+ {0x3, "Parallel port",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,
+ 0xf0,EOT},
+ {0x00,0x00,0x03,0x78,0x07,0x78,0x07,0x02,0x03,
+ 0x03,EOT}},
+ {0x4, "IR",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x72,0x73,
+ 0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0xe8,0x03,0x00,0x0a,0x02,0x0b,0x02,
+ 0x01,0x00,0x00,EOT}},
+ {0x5, "GPIO",
+ {0x25,0x26,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,
+ 0x70,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,
+ 0xf9,0xfa,0xfb,0xfc,EOT},
+ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,EOT}},
+ {EOT}}},
{0x8702, "IT8702F", {
{EOT}}},
{0x8705, "IT8705F/AF or IT8700F", {
@@ -54,20 +88,20 @@ const static struct superio_registers reg_table[] = {
{0x00,0x00,0x02,0x90,0x02,0x30,0x09,0x00,0x00,0x00,
0x00,0x00,NANA,NANA,EOT}},
{0x5, "GPIO",
- {0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x60,0x61,0x62,
- 0x63,0x64,0x65,0x70,0x71,0x72,0xb0,0xb1,0xb2,0xb3,
- 0xb4,0xb5,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xc0,0xc1,
- 0xc2,0xc3,0xc4,0xc5,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,
- 0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd8,0xd9,0xda,
- 0xf0,0xf1,0xf2,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,
- 0xfc,0xfd,0xfe,0xff,EOT},
+ {0x25,0x26,0x27,0x28,0x29,0x2a,0x60,0x61,0x62,0x63,
+ 0x64,0x65,0x70,0x71,0x72,0xb0,0xb1,0xb2,0xb3,0xb4,
+ 0xb5,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xc0,0xc1,0xc2,
+ 0xc3,0xc4,0xc5,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xd0,
+ 0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd8,0xd9,0xda,0xf0,
+ 0xf1,0xf2,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,
+ 0xfd,0xfe,0xff,EOT},
{0x00,0x00,0x00,0xff,0xe0,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,NANA,0x00,EOT}},
+ 0x00,NANA,0x00,EOT}},
{0x6, "Game port",
{0x30,0x60,0x61,EOT},
{0x00,0x02,0x01,EOT}},