ramips: add U-Boot env support for ALFA Network AC1200RM
[oweals/openwrt.git] / target / linux / ramips / patches-4.14 / 0040-nand-hack-restore-write_page.patch
index 80136b89a6e4602b5870b0f530d5452a50ef16c4..ec2afeaf0eeed33848de31ee5551025be821225d 100644 (file)
@@ -12,7 +12,7 @@
        int (*onfi_get_features)(struct mtd_info *mtd, struct nand_chip *chip,
 --- a/drivers/mtd/nand/nand_base.c
 +++ b/drivers/mtd/nand/nand_base.c
-@@ -2753,9 +2753,14 @@ static int nand_do_write_ops(struct mtd_
+@@ -2761,9 +2761,14 @@ static int nand_do_write_ops(struct mtd_
                        memset(chip->oob_poi, 0xff, mtd->oobsize);
                }
  
@@ -30,7 +30,7 @@
                if (ret)
                        break;
  
-@@ -4711,6 +4716,9 @@ int nand_scan_tail(struct mtd_info *mtd)
+@@ -4719,6 +4724,9 @@ int nand_scan_tail(struct mtd_info *mtd)
                }
        }