aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.15
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-19 07:07:14 +0200
commit4eda414b09c790344e47c1cebe78e5433b4dc10d (patch)
treee60c3a824efa6b920dbe0021a31bd696c24b0d54 /target/linux/generic/hack-5.15
parent76a470d5df971bd4c7309480a585d7fbaef63621 (diff)
downloadupstream-4eda414b09c790344e47c1cebe78e5433b4dc10d.tar.gz
upstream-4eda414b09c790344e47c1cebe78e5433b4dc10d.tar.bz2
upstream-4eda414b09c790344e47c1cebe78e5433b4dc10d.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>
Diffstat (limited to 'target/linux/generic/hack-5.15')
-rw-r--r--target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch2
-rw-r--r--target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch b/target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
index eaba093376..dcb1aaa6e4 100644
--- a/target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
+++ b/target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
@@ -77,7 +77,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
#include "mtdcore.h"
-@@ -1075,6 +1076,8 @@ int mtd_device_parse_register(struct mtd
+@@ -1067,6 +1068,8 @@ int mtd_device_parse_register(struct mtd
ret = mtd_otp_nvmem_add(mtd);
diff --git a/target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch
index 8bf8288bbd..f3004b60fd 100644
--- a/target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch
+++ b/target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
#include <linux/nvmem-provider.h>
#include <linux/mtd/mtd.h>
-@@ -770,6 +771,16 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -762,6 +763,16 @@ int add_mtd_device(struct mtd_info *mtd)
of this try_ nonsense, and no bitching about it
either. :) */
__module_get(THIS_MODULE);