commit | d2fd05bb6769d53ab98a11b080b3fb889276049d | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Oct 15 15:08:47 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Nov 10 17:56:06 2015 -0800 |
tree | d2b8dbf4520e444d2c37d6d174250b060085c75f | |
parent | 9498440fff21649cabe529f1d9d4e3bc668fc125 [diff] |
mtd: afs: refactor v1 partition parsing Return immediately if we are not finding a valid v1 partition in afs_read_footer_v1(), invert scanning logic so we continue to read image information on v1 if we found a footer. This is needed for the logic we introduce to parse v2 footers. Cc: Ryan Harkin <ryan.harkin@linaro.org> Cc: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>