summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-05-02 16:30:30 +0200
committerRichard Weinberger <richard@nod.at>2019-05-06 21:48:46 +0200
commit20700171929316ed88fdd11b3099518a0bd2f36e (patch)
tree9fa87aa15c7afc017a9e3142fdc164a24eab8699 /certs
parent1fca1f6abb38a6c2a082c1df01601d0898454d7a (diff)
downloadlinux-20700171929316ed88fdd11b3099518a0bd2f36e.tar.bz2
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>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions