linux/drivers/mtd/parsers
Linus Walleij 2070017192 mtd: afs: simplify partition detection
Instead of reading out the AFS footers twice, create a separate
function to just check if there is a footer or not. Rids a few
local variables and prepare us to join the actual parser into
one function.

Cc: Ryan Harkin <ryan.harkin@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-05-06 21:48:46 +02:00
..
afs.c mtd: afs: simplify partition detection 2019-05-06 21:48:46 +02:00
Kconfig mtd: afs: Move AFS partition parser to parsers subdir 2019-05-06 21:48:46 +02:00
Makefile mtd: afs: Move AFS partition parser to parsers subdir 2019-05-06 21:48:46 +02:00
parser_imagetag.c mtd: parser_imagetag: add of_match_table support 2019-05-06 21:46:45 +02:00
parser_trx.c mtd: parsers: trx: add of_match_table with the new DT binding 2018-07-07 10:51:00 +02:00
redboot.c mtd: partitions: Add OF support to RedBoot partitions 2018-11-12 11:51:02 +01:00
sharpslpart.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00