summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorMike Nicholson <Mike.Nicholson@multitech.com>2019-02-14 11:37:29 -0600
committerMike Nicholson <Mike.Nicholson@multitech.com>2019-02-14 11:37:29 -0600
commitd5232d3b9e86f6e531b0fbf057a6b536be9608db (patch)
treea7cf07680fa0bb39a311614c221e6495924bb974 /recipes-kernel
parent9fef5e737acd344be31b66aad7dc345a62b3ddd7 (diff)
downloadmeta-multitech-d5232d3b9e86f6e531b0fbf057a6b536be9608db.tar.gz
meta-multitech-d5232d3b9e86f6e531b0fbf057a6b536be9608db.tar.bz2
meta-multitech-d5232d3b9e86f6e531b0fbf057a6b536be9608db.zip
Add a couple jiffies of slack in the PMECCERRLOC
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-addl-time-for-pmeccerrloc.patch13
-rw-r--r--recipes-kernel/linux/linux-at91_4.9.87.bb1
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-addl-time-for-pmeccerrloc.patch b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-addl-time-for-pmeccerrloc.patch
new file mode 100644
index 0000000..3bcf717
--- /dev/null
+++ b/recipes-kernel/linux/linux-at91-4.9.87/linux-4.9-addl-time-for-pmeccerrloc.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/mtd/nand/atmel_nand_ecc.h b/drivers/mtd/nand/atmel_nand_ecc.h
+index 834d6944..71137db8 100644
+--- a/drivers/mtd/nand/atmel_nand_ecc.h
++++ b/drivers/mtd/nand/atmel_nand_ecc.h
+@@ -155,7 +155,7 @@
+ #define PMECC_LOOKUP_TABLE_SIZE_1024 0x4000
+
+ /* Time out value for reading PMECC status register */
+-#define PMECC_MAX_TIMEOUT_MS 100
++#define PMECC_MAX_TIMEOUT_MS 120
+
+ /* Reserved bytes in oob area */
+ #define PMECC_OOB_RESERVED_BYTES 2
diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb
index e391b60..51cfe9b 100644
--- a/recipes-kernel/linux/linux-at91_4.9.87.bb
+++ b/recipes-kernel/linux/linux-at91_4.9.87.bb
@@ -43,6 +43,7 @@ COMMON_PATCHES = " \
file://EXTRAVERSION.patch \
file://linux-4.9-ledtrig-netdev.patch \
file://linux-4.9-telit_print_qmi_wwan.patch \
+ file://linux-4.9-addl-time-for-pmeccerrloc.patch \
"
# file://at91pinctrl_reprobe.patch