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-19 07:07:14 +0200 |
commit | 4eda414b09c790344e47c1cebe78e5433b4dc10d (patch) | |
tree | e60c3a824efa6b920dbe0021a31bd696c24b0d54 /target/linux/generic/hack-5.10 | |
parent | 76a470d5df971bd4c7309480a585d7fbaef63621 (diff) | |
download | upstream-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.10')
-rw-r--r-- | target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch | 2 | ||||
-rw-r--r-- | target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch b/target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch index 55388aa40c..a650320cd0 100644 --- a/target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch +++ b/target/linux/generic/hack-5.10/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" -@@ -924,6 +925,8 @@ int mtd_device_parse_register(struct mtd +@@ -916,6 +917,8 @@ int mtd_device_parse_register(struct mtd register_reboot_notifier(&mtd->reboot_notifier); } diff --git a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch index 5529bba12c..fa3b175dcf 100644 --- a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch +++ b/target/linux/generic/hack-5.10/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> -@@ -767,6 +768,19 @@ int add_mtd_device(struct mtd_info *mtd) +@@ -759,6 +760,19 @@ int add_mtd_device(struct mtd_info *mtd) of this try_ nonsense, and no bitching about it either. :) */ __module_get(THIS_MODULE); |