linux/drivers/mtd/parsers
Rafał Miłecki bb17230c61 mtd: parsers: ofpart: support BCM4908 fixed partitions
Some devices use fixed partitioning with some partitions requiring some
extra logic. E.g. BCM4908 may have multiple firmware partitions but
detecting currently used one requires checking bootloader parameters.

To support such cases without duplicating a lot of code (without copying
most of the ofpart.c code) support for post-parsing callback was added.

BCM4908 support in ofpart can be enabled using config option and results
in compiling & executing a specific callback. It simply reads offset of
currently used firmware partition from the DT. Bootloader specifies it
using the "brcm_blparms" property.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210301105823.31032-1-zajec5@gmail.com
2021-03-11 09:37:49 +01:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
ar7part.c mtd: parsers: Move TI AR7 parser 2019-09-15 23:50:48 +02:00
bcm47xxpart.c mtd: parsers: Move BCM47xx parser 2019-09-15 23:50:48 +02:00
bcm63xxpart.c mtd: parsers: bcm63xx: simplify CFE detection 2020-06-26 08:35:10 +02:00
cmdlinepart.c mtd: parser: cmdline: Fix parsing of part-names with colons 2020-12-07 12:14:32 +01:00
Kconfig mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
Makefile mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_bcm4908.c mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
qcomsmempart.c mtd: parsers: Add Qcom SMEM parser 2021-01-04 12:11:28 +01:00
redboot.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 2019-05-24 17:39:00 +02:00
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00