X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fmkresin.git;a=blobdiff_plain;f=target%2Flinux%2Fxburst%2Fpatches-3.18%2F002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch;h=ce87452a16166eb09c29da1065c384cf4f4691ed;hp=046da51912de3cd4444779df5de13d2c1999719a;hb=548182bc6d38a3817c8e9f5b11207043a31c59b9;hpb=1f7ce19df292dfe3c270091ac0f7edc5bb9a8324 diff --git a/target/linux/xburst/patches-3.18/002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch b/target/linux/xburst/patches-3.18/002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch index 046da51912..ce87452a16 100644 --- a/target/linux/xburst/patches-3.18/002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch +++ b/target/linux/xburst/patches-3.18/002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch @@ -10,7 +10,7 @@ Avoid sending unnecessary READ commands to the chip. --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c -@@ -1360,9 +1360,16 @@ static int nand_read_page_hwecc_oob_firs +@@ -1365,9 +1365,16 @@ static int nand_read_page_hwecc_oob_firs unsigned int max_bitflips = 0; /* Read the OOB area first */ @@ -30,7 +30,7 @@ Avoid sending unnecessary READ commands to the chip. for (i = 0; i < chip->ecc.total; i++) ecc_code[i] = chip->oob_poi[eccpos[i]]; -@@ -1575,7 +1582,9 @@ static int nand_do_read_ops(struct mtd_i +@@ -1580,7 +1587,9 @@ static int nand_do_read_ops(struct mtd_i __func__, buf); read_retry: