aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.15/401-mtd-nor-support-mtd-name-from-device-tree.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2022-11-07 19:24:48 +0100
committerRafał Miłecki <rafal@milecki.pl>2022-11-08 09:12:16 +0100
commitd33e49857e3ad76586ebe55334996b15cd45ca1b (patch)
treed1dfb45f7ea9b6a0073fba46ee40113e616f6338 /target/linux/ath79/patches-5.15/401-mtd-nor-support-mtd-name-from-device-tree.patch
parent6a64eb2664c13bc7d6800747066603c27fcad8e0 (diff)
downloadupstream-d33e49857e3ad76586ebe55334996b15cd45ca1b.tar.gz
upstream-d33e49857e3ad76586ebe55334996b15cd45ca1b.tar.bz2
upstream-d33e49857e3ad76586ebe55334996b15cd45ca1b.zip
kernel: backport support for "linux,rootfs" in DT
This DT property allows marking flash partition that Linux should use as a root device. It's useful for devices that don't use U-Boot and cmdline parser for partitioning. It may be used with "fixed-partitions" or some dynamic partitioning based on flash content. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/ath79/patches-5.15/401-mtd-nor-support-mtd-name-from-device-tree.patch')
-rw-r--r--target/linux/ath79/patches-5.15/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.15/401-mtd-nor-support-mtd-name-from-device-tree.patch b/target/linux/ath79/patches-5.15/401-mtd-nor-support-mtd-name-from-device-tree.patch
index 5ff2a61c7a..98939ac9e3 100644
--- a/target/linux/ath79/patches-5.15/401-mtd-nor-support-mtd-name-from-device-tree.patch
+++ b/target/linux/ath79/patches-5.15/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
-@@ -843,6 +843,17 @@ out_error:
+@@ -845,6 +845,17 @@ out_error:
*/
static void mtd_set_dev_defaults(struct mtd_info *mtd)
{