summaryrefslogtreecommitdiff
path: root/util/superiotool/fintek.c
diff options
context:
space:
mode:
authorWilbert Duijvenvoorde <w.a.n.duijvenvoorde@gmail.com>2014-03-24 09:50:25 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-30 23:12:44 +0200
commit3b55602b258e04b82dbb41f3332c5fb7f1b7bd81 (patch)
tree973ad6fd392476736675a421ca3a77bf9c57ba23 /util/superiotool/fintek.c
parentf961becc433bf23fc8744fdfd757f0cdb75c2c62 (diff)
util/superiotool: Register fix for Fintek F81865F/F-I
Datasheet: http://www.fintek.com.tw/files/productfiles/F81865_V028P.pdf There is a multi-function select register listed as 0x2a-1 and 0x2a-2. These are the original names in the datasheet, but superiotool will display register 0x29 and 0x28 and their values. This patch renames them both to 0x2a and shows both of the default values for them. They are both 0x00, so one of them could be dropped though. Change-Id: Iad91f9e4755d2d1a123e56ab0fa9257be7ea9978 Signed-off-by: Wilbert Duijvenvoorde <w.a.n.duijvenvoorde@gmail.com> Reviewed-on: https://review.coreboot.org/5404 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/superiotool/fintek.c')
-rw-r--r--util/superiotool/fintek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/superiotool/fintek.c b/util/superiotool/fintek.c
index 43eb4a0092..5a30652a42 100644
--- a/util/superiotool/fintek.c
+++ b/util/superiotool/fintek.c
@@ -375,7 +375,7 @@ static const struct superio_registers reg_table[] = {
{EOT}}},
{0x0407, "F81865F/F-I", {
{NOLDN, NULL,
- {0x02,0x07,0x20,0x21,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a-1,0x2a-2,0x2b,0x2c,0x2d,EOT},
+ {0x02,0x07,0x20,0x21,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2a,0x2a,0x2b,0x2c,0x2d,EOT},
{NANA,0x00,0x07,0x04,0x19,0x34,NANA,NANA,NANA,0x00,0x00,0x00,0x00,0x1f,0x00,0x08,EOT}},
{0x00, "FDC",
{0x30,0x60,0x61,0x70,0x74,0xf0,0xf2,0xf4,EOT},