aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-06-29 17:34:51 +0200
committerRafał Miłecki <rafal@milecki.pl>2022-09-13 14:22:36 +0200
commitcae4d089bc1d3125d8b35d6bf93c31dbe5827421 (patch)
tree0ad1a5773c9a20c8a7bbcc1800d0b94c2700709d /target/linux/pistachio
parent308f0831f7615645c9a49dc601b4db6c52937893 (diff)
downloadupstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.tar.gz
upstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.tar.bz2
upstream-cae4d089bc1d3125d8b35d6bf93c31dbe5827421.zip
kernel: backport mtd dynamic partition patch
Backport upstream solution that permits to declare nvmem cells with dynamic partition defined by special parser. This provide an OF node for NVMEM and connect it to the defined dynamic partition. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 1a9ee367343edce263f82cc91a49d796c9d45ea3)
Diffstat (limited to 'target/linux/pistachio')
-rw-r--r--target/linux/pistachio/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/pistachio/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch b/target/linux/pistachio/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch
index 4677821b83..285b8126f6 100644
--- a/target/linux/pistachio/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch
+++ b/target/linux/pistachio/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch
@@ -34,7 +34,7 @@ Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
mtd->type = MTD_NORFLASH;
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
-@@ -788,6 +788,17 @@ out_error:
+@@ -849,6 +849,17 @@ out_error:
*/
static void mtd_set_dev_defaults(struct mtd_info *mtd)
{