aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.9
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-11-29 10:53:02 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-11-29 17:07:58 +0100
commitbd3b8480ab2ac932259972b3136265d82fcc219d (patch)
tree1b743a93b0ff2ff2e0be2d821fb26031ccfb05b9 /target/linux/layerscape/patches-4.9
parent2777947a75c1033576d49e16969d82db9fc534fe (diff)
downloadupstream-bd3b8480ab2ac932259972b3136265d82fcc219d.tar.gz
upstream-bd3b8480ab2ac932259972b3136265d82fcc219d.tar.bz2
upstream-bd3b8480ab2ac932259972b3136265d82fcc219d.zip
kernel: bump 4.9 to 4.9.205
Refreshed all patches. Altered patches: - 402-mtd-support-layerscape.patch Fixes: - CVE-2019-18660 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.9')
-rw-r--r--target/linux/layerscape/patches-4.9/402-mtd-support-layerscape.patch8
1 files changed, 4 insertions, 4 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 9f44e9e723..80018b857f 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
@@ -335,16 +335,16 @@ Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
-@@ -209,6 +210,9 @@ static int of_flash_probe(struct platfor
+@@ -201,6 +202,9 @@ static int of_flash_probe(struct platfor
return err;
}
+ if (of_property_read_bool(dp->parent, "big-endian"))
+ info->list[i].map.swap = CFI_BIG_ENDIAN;
+
- err = -ENOMEM;
- info->list[i].map.virt = ioremap(info->list[i].map.phys,
- info->list[i].map.size);
+ simple_map_init(&info->list[i].map);
+
+ /*
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -438,7 +438,7 @@ config MTD_NAND_FSL_ELBC