aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2022-10-18 22:12:27 +0200
committerRafał Miłecki <rafal@milecki.pl>2022-10-27 08:41:33 +0200
commit18c77387c526b06211ee1f91caf1e8f871eb7d4b (patch)
tree85f9779f928dc84fdfc79cd817269fe6447b0ff2 /target/linux/pistachio
parent00d7702796d922e4258b7acb6e6b88a93071eebe (diff)
downloadupstream-18c77387c526b06211ee1f91caf1e8f871eb7d4b.tar.gz
upstream-18c77387c526b06211ee1f91caf1e8f871eb7d4b.tar.bz2
upstream-18c77387c526b06211ee1f91caf1e8f871eb7d4b.zip
kernel: mtd: backport extended dynamic partitions support
This gets rid of "nvmem-cells" limitation. Dynamic partitions can be defined for any (sub)partitions layout. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 4eda414b09c790344e47c1cebe78e5433b4dc10d)
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 789dff9c9d..27f84c097b 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
-@@ -851,6 +851,17 @@ out_error:
+@@ -843,6 +843,17 @@ out_error:
*/
static void mtd_set_dev_defaults(struct mtd_info *mtd)
{