aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.10
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-06-29 17:34:51 +0200
committerRafał Miłecki <rafal@milecki.pl>2022-07-08 10:19:58 +0200
commit1a9ee367343edce263f82cc91a49d796c9d45ea3 (patch)
tree3e639403608754d5eec9543013dab6ddfe0aa4dd /target/linux/ath79/patches-5.10
parent41e1e838fbbb0308ad7353a3714e04b8c4585e7e (diff)
downloadupstream-1a9ee367343edce263f82cc91a49d796c9d45ea3.tar.gz
upstream-1a9ee367343edce263f82cc91a49d796c9d45ea3.tar.bz2
upstream-1a9ee367343edce263f82cc91a49d796c9d45ea3.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>
Diffstat (limited to 'target/linux/ath79/patches-5.10')
-rw-r--r--target/linux/ath79/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/ath79/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch b/target/linux/ath79/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch
index d7ee9e56fc..63c05e84bd 100644
--- a/target/linux/ath79/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch
+++ b/target/linux/ath79/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)
{