summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2011-10-27 20:42:11 +0200
committerPeter Stuge <peter@stuge.se>2011-10-27 22:28:55 +0200
commit113c3497201a28fd58335788da5e206ea8902b90 (patch)
tree677a63b92ce98dd3e5b48eb095a568c67212e36c /util/superiotool/superiotool.h
parent9bfa1c8c68b2f0c11e516e3f45ff1901a5907ab6 (diff)
downloadcoreboot-113c3497201a28fd58335788da5e206ea8902b90.tar.xz
Add support for AMD IMC controller.
This patch adds support to dump SIO like interface of AMD Embedded Controller in the SB7xx and SB8xxx southbridges. Parts of the register interface are documented in SBxxx RRG BDG. Change-Id: Ib2ccaa3dfe33cfa8e7cba19d8ab0798286ad2f92 Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-on: http://review.coreboot.org/343 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index c5affec8bc..f705a58d82 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -182,6 +182,10 @@ void print_vendor_chips(const char *vendor,
void probe_idregs_ali(uint16_t port);
void print_ali_chips(void);
+/* amd.c */
+void probe_idregs_amd(uint16_t port);
+void print_amd_chips(void);
+
/* serverengines.c */
void probe_idregs_serverengines(uint16_t port);
void print_serverengines_chips(void);
@@ -235,6 +239,8 @@ static const struct {
{probe_idregs_winbond, {0x2e, 0x4e, 0x3f0, 0x370, 0x250, EOT}},
#ifdef PCI_SUPPORT
{probe_idregs_via, {0x3f0, EOT}},
+ /* in fact read the BASE from HW */
+ {probe_idregs_amd, {0xaa, EOT}},
#endif
{probe_idregs_serverengines, {0x2e, EOT}},
};
@@ -252,6 +258,7 @@ static const struct {
{print_winbond_chips},
#ifdef PCI_SUPPORT
{print_via_chips},
+ {print_amd_chips},
#endif
{print_serverengines_chips},
};