[coreboot] [commit] r5070 - trunk/util/superiotool
repository service
svn at coreboot.org
Sun Jan 31 19:48:34 CET 2010
Author: uwe
Date: Sun Jan 31 19:48:34 2010
New Revision: 5070
URL: http://tracker.coreboot.org/trac/coreboot/changeset/5070
Log:
Add detection support for the Winbond W83877AF (trivial).
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified:
trunk/util/superiotool/winbond.c
Modified: trunk/util/superiotool/winbond.c
==============================================================================
--- trunk/util/superiotool/winbond.c Sat Jan 30 15:56:15 2010 (r5069)
+++ trunk/util/superiotool/winbond.c Sun Jan 31 19:48:34 2010 (r5070)
@@ -464,9 +464,11 @@
/* ID[3..0] */
{0xa, "W83877F", {
{EOT}}},
+ {0xb, "W83877AF", {
+ {EOT}}},
{0xc, "W83877TF", {
{EOT}}},
- {0xd, "W83877ATF", {
+ {0xd, "W83877ATF/ATG", {
{EOT}}},
{EOT}
};
@@ -556,7 +558,7 @@
else
id = (devid << 4) | ((rev & 0xf0) >> 4); /* ID and rev[7..4] */
- if (olddevid == 0x0a || olddevid == 0x0c || olddevid == 0x0d)
+ if (olddevid >= 0x0a && olddevid <= 0x0d)
id = olddevid & 0x0f; /* ID[3..0] */
if (superio_unknown(reg_table, id)) {
@@ -566,7 +568,7 @@
return;
}
- if (olddevid == 0x0a || olddevid == 0x0c || olddevid == 0x0d)
+ if (olddevid >= 0x0a && olddevid <= 0x0d)
printf("Found Winbond %s (id=0x%02x) at 0x%x\n",
get_superio_name(reg_table, id), olddevid, port);
else
More information about the coreboot
mailing list