util/superiotool: Add AST2400
Add support for AST2400 Super I/O. The device doesn't have an ID register, so probe for scratch register not to read as 0xff. Tested on platform which has an AST2400. Change-Id: I86af69c6b2ccefe2c88eef875bc858239df834f1 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32984 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
committed by
Felix Held
parent
a3121b0b2f
commit
674bb3bf65
@@ -190,6 +190,10 @@ void print_vendor_chips(const char *vendor,
|
||||
void probe_idregs_ali(uint16_t port);
|
||||
void print_ali_chips(void);
|
||||
|
||||
/* aspeed.c */
|
||||
void probe_idregs_aspeed(uint16_t port);
|
||||
void print_aspeed_chips(void);
|
||||
|
||||
/* amd.c */
|
||||
void probe_idregs_amd(uint16_t port);
|
||||
void print_amd_chips(void);
|
||||
@@ -243,6 +247,7 @@ static const struct {
|
||||
int ports[MAXNUMPORTS]; /* Signed, as we need EOT. */
|
||||
} superio_ports_table[] = {
|
||||
{probe_idregs_ali, {0x3f0, 0x370, EOT}},
|
||||
{probe_idregs_aspeed, {0x2e, 0x4e, EOT}},
|
||||
{probe_idregs_exar, {0x2e, 0x4e, EOT}},
|
||||
{probe_idregs_fintek, {0x2e, 0x4e, EOT}},
|
||||
{probe_idregs_fintek_alternative, {0x2e, 0x4e, EOT}},
|
||||
@@ -278,6 +283,7 @@ static const struct {
|
||||
#ifdef PCI_SUPPORT
|
||||
{print_via_chips},
|
||||
{print_amd_chips},
|
||||
{print_aspeed_chips},
|
||||
#endif
|
||||
{print_serverengines_chips},
|
||||
{print_infineon_chips},
|
||||
|
Reference in New Issue
Block a user