[PATCH 0/6] mtd: afs: Support AFSv2 parsing

Linus Walleij
2019-01-28T13:55:09Z

The later versions of the ARM reference designs use
AFSv2 with a new type of firmware header than in the
v1 version found in earlier versions.

Extend the AFS partition parser to suppoer AFSv2.

This is based on the earlier patch set moving the
parser down to the parsers folder and adding device
tree probing, so it should be applied only after
that series.

Linus Walleij (6):
mtd: afs: simplify partition parsing
mtd: afs: simplify partition detection
mtd: factor out v1 partition parsing
mtd: afs: factor footer parsing into the v1 part parsing
mtd: afs: factor the IIS read into partition parser
mtd: afs: add v2 partition parsing

drivers/mtd/parsers/afs.c | 369 ++++++++++++++++++++++++++------------
1 file changed, 253 insertions(+), 116 deletions(-)