aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-5.4
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-05-06 13:10:17 +0200
committerRafał Miłecki <rafal@milecki.pl>2021-05-08 19:29:08 +0200
commit4b89b90d9fdd6f5bb6b41a0f61c90095e2857aa1 (patch)
tree804f9f4f0e55cbbf9512f9e10767b3be0d8d9942 /target/linux/mvebu/patches-5.4
parent567ad2d434a464f80c278800050fb3a9b9c49c9a (diff)
downloadupstream-4b89b90d9fdd6f5bb6b41a0f61c90095e2857aa1.tar.gz
upstream-4b89b90d9fdd6f5bb6b41a0f61c90095e2857aa1.tar.bz2
upstream-4b89b90d9fdd6f5bb6b41a0f61c90095e2857aa1.zip
kernel: fix parsing fixed subpartitions
Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit ed4641e9f1ad940cb60187dea09cf17c865efcaf)
Diffstat (limited to 'target/linux/mvebu/patches-5.4')
-rw-r--r--target/linux/mvebu/patches-5.4/400-find_active_root.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mvebu/patches-5.4/400-find_active_root.patch b/target/linux/mvebu/patches-5.4/400-find_active_root.patch
index 3bdb1eab8f..65c43740fc 100644
--- a/target/linux/mvebu/patches-5.4/400-find_active_root.patch
+++ b/target/linux/mvebu/patches-5.4/400-find_active_root.patch
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
struct device_node *pp;
int nr_parts, i, ret = 0;
bool dedicated = true;
-@@ -131,9 +134,13 @@ static int parse_fixed_partitions(struct
+@@ -133,9 +136,13 @@ static int parse_fixed_partitions(struct
parts[i].size = of_read_number(reg + a_cells, s_cells);
parts[i].of_node = pp;
@@ -39,7 +39,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
parts[i].name = partname;
if (of_get_property(pp, "read-only", &len))
-@@ -247,6 +254,18 @@ static int __init ofpart_parser_init(voi
+@@ -249,6 +256,18 @@ static int __init ofpart_parser_init(voi
return 0;
}