diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2022-11-07 19:24:48 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2022-11-21 16:37:24 +0100 |
commit | 932378aeb6fa38c922f1d9fdc5791b611594fa05 (patch) | |
tree | 09e713d6aeaa7c4fb34d73b4c53c840dd5bd20fd /target/linux/ath79 | |
parent | af20d9d03bbe080fd9b27024acf5fca7bec15e4f (diff) | |
download | upstream-932378aeb6fa38c922f1d9fdc5791b611594fa05.tar.gz upstream-932378aeb6fa38c922f1d9fdc5791b611594fa05.tar.bz2 upstream-932378aeb6fa38c922f1d9fdc5791b611594fa05.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>
(cherry picked from commit d33e49857e3ad76586ebe55334996b15cd45ca1b)
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 27f84c097b..c9e928acb2 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 -@@ -843,6 +843,17 @@ out_error: +@@ -848,6 +848,17 @@ out_error: */ static void mtd_set_dev_defaults(struct mtd_info *mtd) { |