diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-10-18 22:12:27 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-10-27 08:41:33 +0200 |
commit | 18c77387c526b06211ee1f91caf1e8f871eb7d4b (patch) | |
tree | 85f9779f928dc84fdfc79cd817269fe6447b0ff2 /target/linux/ath79 | |
parent | 00d7702796d922e4258b7acb6e6b88a93071eebe (diff) | |
download | upstream-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/ath79')
-rw-r--r-- | target/linux/ath79/patches-5.10/401-mtd-nor-support-mtd-name-from-device-tree.patch | 2 |
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 789dff9c9d..27f84c097b 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 -@@ -851,6 +851,17 @@ out_error: +@@ -843,6 +843,17 @@ out_error: */ static void mtd_set_dev_defaults(struct mtd_info *mtd) { |