aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-12 18:30:01 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-03-12 18:49:46 +0100
commite90e75b12c818c49704755b9e530491aee2d554c (patch)
tree5f5a5bb224839c465bda63866c59250d64ecafb4 /target/linux/kirkwood
parentdeceb039931cd8eb011a0eb65731f335662070d0 (diff)
downloadupstream-e90e75b12c818c49704755b9e530491aee2d554c.tar.gz
upstream-e90e75b12c818c49704755b9e530491aee2d554c.tar.bz2
upstream-e90e75b12c818c49704755b9e530491aee2d554c.zip
kernel: add pending mtd patches adding NVMEM support
It's meant to provide upstream support for mtd & NVMEM. It's required e.g. for reading MAC address from mtd partition content. It seems to be in a final shape so it's worth testing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/kirkwood')
-rw-r--r--target/linux/kirkwood/patches-5.10/202-linksys-find-active-root.patch4
-rw-r--r--target/linux/kirkwood/patches-5.4/202-linksys-find-active-root.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/kirkwood/patches-5.10/202-linksys-find-active-root.patch b/target/linux/kirkwood/patches-5.10/202-linksys-find-active-root.patch
index 2d1f769e96..214a0cd649 100644
--- a/target/linux/kirkwood/patches-5.10/202-linksys-find-active-root.patch
+++ b/target/linux/kirkwood/patches-5.10/202-linksys-find-active-root.patch
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
const char *partname;
struct device_node *pp;
int nr_parts, i, ret = 0;
-@@ -124,9 +127,15 @@ static int parse_fixed_partitions(struct
+@@ -126,9 +129,15 @@ static int parse_fixed_partitions(struct
parts[i].size = of_read_number(reg + a_cells, s_cells);
parts[i].of_node = pp;
@@ -41,7 +41,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
parts[i].name = partname;
if (of_get_property(pp, "read-only", &len))
-@@ -242,6 +251,18 @@ static int __init ofpart_parser_init(voi
+@@ -244,6 +253,18 @@ static int __init ofpart_parser_init(voi
return 0;
}
diff --git a/target/linux/kirkwood/patches-5.4/202-linksys-find-active-root.patch b/target/linux/kirkwood/patches-5.4/202-linksys-find-active-root.patch
index cc35583b98..3077e718c3 100644
--- a/target/linux/kirkwood/patches-5.4/202-linksys-find-active-root.patch
+++ b/target/linux/kirkwood/patches-5.4/202-linksys-find-active-root.patch
@@ -22,7 +22,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
const char *partname;
struct device_node *pp;
int nr_parts, i, ret = 0;
-@@ -124,9 +127,15 @@ static int parse_fixed_partitions(struct
+@@ -126,9 +129,15 @@ static int parse_fixed_partitions(struct
parts[i].size = of_read_number(reg + a_cells, s_cells);
parts[i].of_node = pp;
@@ -41,7 +41,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
parts[i].name = partname;
if (of_get_property(pp, "read-only", &len))
-@@ -239,6 +248,18 @@ static int __init ofpart_parser_init(voi
+@@ -241,6 +250,18 @@ static int __init ofpart_parser_init(voi
return 0;
}