summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-05-08 13:50:23 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-05-08 13:50:23 +0000
commit8cb24580058d5e7fd5776b6df910e43c7bd77ce2 (patch)
treee6a6b2ac1aa0b55e8163dbf0ac4df13eac53f2d3
parent15da8ed98b7e82303a9e9ad633b3cbb42f40f4f5 (diff)
Don't split up register list in two blocks, otherwise "Register dump:"
will be printed twice in the output (trivial). 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@3292 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/superiotool/ite.c17
-rw-r--r--util/superiotool/superiotool.h2
2 files changed, 9 insertions, 10 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 44ec64c8a1..addd1f0768 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -332,20 +332,19 @@ static const struct superio_registers ec_table[] = {
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,
0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x40,0x41,0x42,0x43,
0x44,0x45,0x48,0x50,0x51,0x52,0x53,0x54,0x56,0x57,
- 0x59,0x5c,EOT},
+ 0x59,0x5c,
+ 0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x68,
+ 0x69,0x6a,0x6b,0x6c,0x6d,0x70,0x71,0x72,0x73,0x74,
+ 0x75,0x84,0x85,0x86,0x87,0x88,0x89,0x8c,0x8d,0x8e,
+ 0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x98,0x99,0x9a,
+ 0x9b,0x9c,0x9d,EOT},
{0x18,0x00,0x00,0x00,0x00,0x00,0x80,0x09,0x00,NANA,
NANA,NANA,0x07,0x50,NANA,NANA,NANA,NANA,NANA,NANA,
NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
NANA,NANA,RSVD,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,
- 0x00,0x00,EOT}},
- {NOLDN, NULL,
- {0x5d,0x5e,0x5f,0x60,0x61,0x62,0x63,0x64,0x65,0x68,
- 0x69,0x6a,0x6b,0x6c,0x6d,0x70,0x71,0x72,0x73,0x74,
- 0x75,0x84,0x85,0x86,0x87,0x88,0x89,0x8c,0x8d,0x8e,
- 0x8f,0x90,0x91,0x92,0x93,0x94,0x95,0x98,0x99,0x9a,
- 0x9b,0x9c,0x9d,EOT},
- {0x00,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,
+ 0x00,0x00,
+ 0x00,0x00,0x00,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,
0x7f,0x7f,0x00,0x00,0x7f,0x7f,0x7f,0x7f,0x00,0x00,
0x7f,NANA,NANA,NANA,NANA,0x00,0x00,0x02,0x00,0x99,
0x99,0x7f,0x7f,0x7f,0x00,0x00,0x7f,0x7f,0x7f,0x7f,
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index bbab1fb67f..6f15aae2c4 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -53,7 +53,7 @@ and print its vendor, name, ID, revision, and config port.\n"
#define MISC -5 /* Needs special comment in output */
#define MAXLDN 0x10 /* Biggest LDN */
#define LDNSIZE (MAXLDN + 3) /* Biggest LDN + 0 + NOLDN + EOT */
-#define MAXNUMIDX 70 /* Maximum number of indexes */
+#define MAXNUMIDX 170 /* Maximum number of indexes */
#define IDXSIZE (MAXNUMIDX + 1)
#define MAXNUMPORTS (6 + 1) /* Maximum number of Super I/O ports */