diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-15 15:46:59 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-15 15:46:59 +0000 |
commit | 72c0584d374d1bdfff4636f930c1ae52d9c89926 (patch) | |
tree | 74597f9fff9b1cd36a6bf17c74b6e078ee58fede /util/superiotool/winbond.c | |
parent | 4910809cad1fdbe122208a1d73b7925aab242ec7 (diff) |
Fix stupid thinko in the Winbond detection code which prevented some
of the Winbond chips from being detected (trivial fix).
This is verified on real hardware and works fine now.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2855 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/winbond.c')
-rw-r--r-- | util/superiotool/winbond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c index 44fac47f65..b55088c5f4 100644 --- a/util/superiotool/winbond.c +++ b/util/superiotool/winbond.c @@ -291,7 +291,7 @@ void probe_idregs_winbond_helper(const char *init, uint16_t port) if (devid == 0x52) id = devid; /* ID only */ - else if ((devid == 0x97) && ((rev & 0xf0) == 7)) + else if ((devid == 0x97) && ((rev & 0xf0) == 0x70)) id = (devid << 8) | rev; /* ID and rev */ else id = (devid << 4) | ((rev & 0xf0) >> 4); /* ID and rev[3..0] */ |