diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-03-01 18:12:48 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-03-01 18:18:38 +0100 |
commit | 7a7b2fd809809fbd7045bd3dad4fc896a6fef06f (patch) | |
tree | cdb775d788642c833eafdd1ce28a7f4dca22c3c5 /target/linux/generic/pending-5.4/430-mtd-add-myloader-partition-parser.patch | |
parent | c58005a9431b16107d8c6398b9095a5b3bcfcb25 (diff) | |
download | upstream-7a7b2fd809809fbd7045bd3dad4fc896a6fef06f.tar.gz upstream-7a7b2fd809809fbd7045bd3dad4fc896a6fef06f.tar.bz2 upstream-7a7b2fd809809fbd7045bd3dad4fc896a6fef06f.zip |
kernel: add the latest mtd patch extending ofpart parser
This adds the latest version of ofpart commit. It hopefully
1. Doesn't break compilation
2. Doesn't break partitioning
(this time).
It's required to implement fixed partitioning with some quirks. It's
required by bcm53xx, bcm4908, kirkwood, lantiq and mvebu.
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.patch | 4 |
1 files changed, 2 insertions, 2 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..3319ed94c2 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 - obj-$(CONFIG_MTD_PARSER_IMAGETAG) += parser_imagetag.o - obj-$(CONFIG_MTD_AFS_PARTS) += afs.o + ofpart-y += ofpart_core.o + ofpart-$(CONFIG_MTD_OF_PARTS_BCM4908) += ofpart_bcm4908.o --- /dev/null +++ b/drivers/mtd/parsers/myloader.c @@ -0,0 +1,181 @@ |