diff options
author | Angel Pons <th3fanbus@gmail.com> | 2018-10-07 18:57:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-10-10 11:19:01 +0000 |
commit | 49c8de74eeb3b5a61f85bdeddd48a50e0376dc24 (patch) | |
tree | 07becf83dcc3cbaa5b1992871e6bf22225977417 | |
parent | c8a842b708e0affe95dc87ae80912987d7f4682a (diff) | |
download | coreboot-49c8de74eeb3b5a61f85bdeddd48a50e0376dc24.tar.xz |
util/superiotool/smsc.c: Add SCH5504 register dump
There is no datasheet available for this SuperIO, but dumping all
possible registers on a Dell Optiplex GX520 resulted in data that was
similar to other supported chips. Data also matches what is set in the
BIOS, e.g. the parallel and serial ports' addresses.
Change-Id: I768e4b5ec1e73c53e1a2355e0a0657b7a5ccbb89
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/28958
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r-- | util/superiotool/smsc.c | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c index 820bc1678a..2fe940c97f 100644 --- a/util/superiotool/smsc.c +++ b/util/superiotool/smsc.c @@ -715,7 +715,32 @@ static const struct superio_registers reg_table[] = { {0x30,0x60,0x61,0x62,0x63,0xf0,0xf1,0xf2,EOT}, {0x00,0x00,0x00,0x00,0x00,NANA,RSVD,0x04,EOT}}, {EOT}}}, - {0x79, "SCH5504", { /* From sensors-detect (no datasheet) */ + {0x79, "SCH5504", { /* No datasheet, reverse-engineered */ + {NOLDN, NULL, /* FIXME: Is this correct? */ + {0x02,0x03,0x21,0x22,0x23,0x24,0x26,0x27, + 0x28,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT}, + {0x00,RSVD,MISC,0x00,0x00,0x04,MISC,0x00, + RSVD,0x00,0x00,0x00,0x00,0x00,0x00,EOT}}, + {0x0, "Floppy", + {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4, + 0xf5,EOT}, + {0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,0x00, + 0x00,EOT}}, + {0x3, "Parallel port", + {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT}, + {0x00,0x00,0x00,0x00,0x04,0x3c,0x00,EOT}}, + {0x4, "COM1", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x00,0x00,0x00,0x00,0x00,EOT}}, + {0x5, "COM2", + {0x30,0x60,0x61,0x70,0xf0,0xf1,0xf2,EOT}, + {0x00,0x00,0x00,0x00,0x00,0x02,0x03,EOT}}, + {0x7, "Keyboard", + {0x30,0x70,0x72,0xf0,EOT}, + {0x00,0x00,0x00,0x00,EOT}}, + {0xa, "Runtime registers", /* FIXME: Is this correct? */ + {0x30,0x60,0x61,0x70,0xf0,0xf1,EOT}, + {0x00,0x00,0x00,0x00,0x00,RSVD,EOT}}, {EOT}}}, {0x7a, "LPC47N217", { /* Found in Toshiba Satellite A80-117. */ {NOLDN, NULL, |