summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@google.com>2010-07-22 22:56:44 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-22 22:56:44 +0000
commite1822d9f2461b301c6f9efc6f5131849a68f9fc7 (patch)
treeca0971a57eb394eaa2f1e7c463ea7f53975048d9 /util/superiotool/superiotool.h
parent4aa93ccd3302d7db0eef00f5963bc991f3f233ff (diff)
downloadcoreboot-e1822d9f2461b301c6f9efc6f5131849a68f9fc7.tar.xz
Superiotool support for Nuvoton WPCE775x/NPCE781x.
Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5667 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index c953038528..d465115d1e 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -143,6 +143,10 @@ void print_ite_chips(void);
void probe_idregs_nsc(uint16_t port);
void print_nsc_chips(void);
+/* nuvoton.c */
+void probe_idregs_nuvoton(uint16_t port);
+void print_nuvoton_chips(void);
+
/* smsc.c */
void probe_idregs_smsc(uint16_t port);
void print_smsc_chips(void);
@@ -167,6 +171,9 @@ static const struct {
/* Only use 0x370 for ITE, but 0x3f0 or 0x3bd would also be valid. */
{probe_idregs_ite, {0x2e, 0x4e, 0x370, EOT}},
{probe_idregs_nsc, {0x2e, 0x4e, 0x15c, EOT}},
+ /* I/O pairs on Nuvoton EC chips can be configured by firmware in
+ * addition to the following hardware strapping options. */
+ {probe_idregs_nuvoton, {0x164e, 0x2e, EOT}},
{probe_idregs_smsc, {0x2e, 0x4e, 0x162e, 0x164e, 0x3f0, 0x370, EOT}},
{probe_idregs_winbond, {0x2e, 0x4e, 0x3f0, 0x370, 0x250, EOT}},
#ifdef PCI_SUPPORT
@@ -182,6 +189,7 @@ static const struct {
{print_fintek_chips},
{print_ite_chips},
{print_nsc_chips},
+ {print_nuvoton_chips},
{print_smsc_chips},
{print_winbond_chips},
#ifdef PCI_SUPPORT