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
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] */