aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-03-30 20:41:02 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-31 16:31:26 +0200
commitaed03d5d0f304cc85a8ccb4ef98684703fc027af (patch)
tree213cf2340e8cfaf55deccea5054572dc25f71211 /target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch
parentef6939b0afec410dd2db6d4382edc2231baf9a4c (diff)
downloadupstream-aed03d5d0f304cc85a8ccb4ef98684703fc027af.tar.gz
upstream-aed03d5d0f304cc85a8ccb4ef98684703fc027af.tar.bz2
upstream-aed03d5d0f304cc85a8ccb4ef98684703fc027af.zip
kernel: update kernel 4.9 to version 4.9.91
* Refreshed patches. * Deleted 210-Revert-led-core-Fix-brightness-setting-when-setting-.patch (was accepted upstream) * Deleted 812-pci-dwc-fix-enumeration.patch (was accepted upstream) Compile and run tested on lantiq Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch')
-rw-r--r--target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch b/target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch
index 14f503f8e5..6b3485700a 100644
--- a/target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch
+++ b/target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch
@@ -358,7 +358,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
help
--- a/drivers/mtd/nand/fsl_ifc_nand.c
+++ b/drivers/mtd/nand/fsl_ifc_nand.c
-@@ -904,9 +904,12 @@ static int fsl_ifc_chip_init(struct fsl_
+@@ -898,7 +898,7 @@ static int fsl_ifc_chip_init(struct fsl_
chip->ecc.algo = NAND_ECC_HAMMING;
}
@@ -366,12 +366,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
+ if (ctrl->version >= FSL_IFC_VERSION_1_1_0)
fsl_ifc_sram_init(priv);
-+ if (ctrl->version >= FSL_IFC_VERSION_2_0_0)
-+ priv->bufnum_mask = (priv->bufnum_mask * 2) + 1;
-+
- return 0;
- }
-
+ /*
--- a/include/linux/fsl_ifc.h
+++ b/include/linux/fsl_ifc.h
@@ -274,6 +274,8 @@
@@ -383,7 +378,7 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
/* Addressing Mode-ROW0+n/COL0 */
#define IFC_NAND_NCFGR_ADDR_MODE_RC0 0x00000000
/* Addressing Mode-ROW0+n/COL0+n */
-@@ -861,6 +863,11 @@ struct fsl_ifc_ctrl {
+@@ -857,6 +859,11 @@ struct fsl_ifc_ctrl {
u32 nand_stat;
wait_queue_head_t nand_wait;
bool little_endian;