X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0a359982df3443a800795f19a2c1cb6cf86c2c17..cef700b13c077410a79966cf437ca6ad8ecf065f:/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch?ds=inline diff --git a/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch b/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch index d04c2794d..4176ec395 100644 --- a/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch +++ b/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch @@ -1,11 +1,11 @@ --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -374,7 +374,7 @@ struct mtd_info *cfi_cmdset_0002(struct +@@ -385,7 +385,7 @@ struct mtd_info *cfi_cmdset_0002(struct 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')) {