summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorDerek Waldner <derek.waldner.os@gmail.com>2016-04-14 12:13:48 -0500
committerMartin Roth <martinroth@google.com>2016-04-16 02:00:38 +0200
commit3b42119237e7b0ff74f6f56cbb6aa9e32ec286fc (patch)
treea6aeff373c5347035b61c16246c577c98d869b42 /util/superiotool/superiotool.h
parent433e8d272d1f1b3f6daaa89add5a886e348f29ea (diff)
downloadcoreboot-3b42119237e7b0ff74f6f56cbb6aa9e32ec286fc.tar.xz
util/superiotool: Add initial support for Exar XR28V384.
Datasheet https://www.exar.com/content/document.ashx?id=21368 Add support for Exar chip used on a custom board that was designed to connect to the Olive Hill Plus development platform. The register dump was verified on the Olive Hill Plus platform. Change-Id: Ibd3e13eefb706bd99b6e5b38634f6855b39848ab Signed-off-by: Derek Waldner <derek.waldner.os@gmail.com> Reviewed-on: https://review.coreboot.org/14367 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 443cc07b68..93ff8e2fdd 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -191,6 +191,10 @@ void print_amd_chips(void);
void probe_idregs_serverengines(uint16_t port);
void print_serverengines_chips(void);
+/* exar.c */
+void probe_idregs_exar(uint16_t port);
+void print_exar_chips(void);
+
/* fintek.c */
void probe_idregs_fintek(uint16_t port);
void probe_idregs_fintek_alternative(uint16_t port);
@@ -232,6 +236,7 @@ static const struct {
int ports[MAXNUMPORTS]; /* Signed, as we need EOT. */
} superio_ports_table[] = {
{probe_idregs_ali, {0x3f0, 0x370, EOT}},
+ {probe_idregs_exar, {0x2e, 0x4e, EOT}},
{probe_idregs_fintek, {0x2e, 0x4e, EOT}},
{probe_idregs_fintek_alternative, {0x2e, 0x4e, EOT}},
/* Only use 0x370 for ITE, but 0x3f0 or 0x3bd would also be valid. */
@@ -256,6 +261,7 @@ static const struct {
void (*print_list) (void);
} vendor_print_functions[] = {
{print_ali_chips},
+ {print_exar_chips},
{print_fintek_chips},
{print_ite_chips},
{print_nsc_chips},