d04c2794d4aad1bbd5bed77a8f50db388563f9ca
[openwrt.git] / target / linux / etrax / patches-2.6.29 / 200-samsung_flash.patch
1 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3 @@ -374,7 +374,7 @@ struct mtd_info *cfi_cmdset_0002(struct
4
5 cfi_fixup_major_minor(cfi, extp);
6
7 - if (extp->MajorVersion != '1' ||
8 + if (extp->MajorVersion < '1' || extp->MajorVersion > '3' ||
9 (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
10 if (cfi->mfr == MANUFACTURER_SAMSUNG &&
11 (extp->MajorVersion == '3' && extp->MinorVersion == '3')) {
This page took 0.046992 seconds and 3 git commands to generate.