etrax: fix detection of samsung flash chip (#6155)

SVN-Revision: 19153
This commit is contained in:
Claudio Mignanti 2010-01-15 13:40:18 +00:00
parent b031e14bf0
commit ec7ce827d5

View file

@ -5,7 +5,7 @@
cfi_fixup_major_minor(cfi, extp);
- if (extp->MajorVersion != '1' ||
+ if (extp->MajorVersion < '1' || extp->MajorVersion > '3' ||
+ if (extp->MajorVersion < '0' || extp->MajorVersion > '3' ||
(extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
if (cfi->mfr == MANUFACTURER_SAMSUNG &&
(extp->MajorVersion == '3' && extp->MinorVersion == '3')) {