ar71xx: use the generic m25p80 registration code for the MZK-W04NU
[openwrt.git] / target / linux / orion / patches / 050-wrt350nv2_cfi_workaround.patch
index 7051159..b8ba0e2 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
-@@ -364,8 +364,9 @@ struct mtd_info *cfi_cmdset_0002(struct 
-                       return NULL;
-               }
+@@ -385,8 +385,9 @@ struct mtd_info *cfi_cmdset_0002(struct 
+               cfi_fixup_major_minor(cfi, extp);
  
 -              if (extp->MajorVersion != '1' ||
 -                  (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
  
 -              if (extp->MajorVersion != '1' ||
 -                  (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
This page took 0.034591 seconds and 4 git commands to generate.