aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2019-05-02 14:30:30 +0000
committerRichard Weinberger <[email protected]>2019-05-06 19:48:46 +0000
commit20700171929316ed88fdd11b3099518a0bd2f36e (patch)
tree9fa87aa15c7afc017a9e3142fdc164a24eab8699 /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: afs: simplify partition parsing (diff)
downloadkernel-20700171929316ed88fdd11b3099518a0bd2f36e.tar.gz
kernel-20700171929316ed88fdd11b3099518a0bd2f36e.zip
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 <[email protected]> Acked-by: Liviu Dudau <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions