mtd: afs: factor the IIS read into partition parser
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 2 May 2019 14:30:33 +0000 (16:30 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 6 May 2019 19:48:46 +0000 (21:48 +0200)
commit32e68bea9338101253b72f594796c76acd68da11
tree5b8fb85acf2ce8df2eb06fedb834fdbb89aad401
parentff827b4e8d3606a275b92b159c7e9ae45ad2c361
mtd: afs: factor the IIS read into partition parser

Factor the IIS (Image Information Structure) reading into the
partition parser, giving us a single, clean partition parser
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>
drivers/mtd/parsers/afs.c