aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-02-15 11:47:17 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-02-15 12:02:33 +0100
commitac7d45b5e783fdd4ca35fe53a0921d8972f3f53b (patch)
tree4733e155ba27824d4d1f7b1efe363394a8aa3ef1 /target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch
parent3da4acaa7bba185489b968a140ecf327169db0bd (diff)
downloadupstream-ac7d45b5e783fdd4ca35fe53a0921d8972f3f53b.tar.gz
upstream-ac7d45b5e783fdd4ca35fe53a0921d8972f3f53b.tar.bz2
upstream-ac7d45b5e783fdd4ca35fe53a0921d8972f3f53b.zip
kernel: backport "ofpart" mtd parser upstream quirks support
This adds quirks support to the "ofpart" parser. It's required to support fixed partitions that require some extra logic. Right now only BCM4908 binding is supported (BCM4908 requires detecting currently used "firmware" partition). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch')
-rw-r--r--target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch b/target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch
index 9600dfc67a..fc99996674 100644
--- a/target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch
+++ b/target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch
@@ -41,8 +41,8 @@ Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
+obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
+ ofpart-objs := bcm4908-partitions.o
obj-$(CONFIG_MTD_PARSER_IMAGETAG) += parser_imagetag.o
- obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
--- /dev/null
+++ b/drivers/mtd/parsers/myloader.c
@@ -0,0 +1,181 @@