summaryrefslogtreecommitdiff
path: root/include/fastboot.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-15 14:34:11 +0200
committerTom Rini <trini@konsulko.com>2015-11-12 13:17:29 -0500
commit7bfc3b134626aafd70b550db094df327437c5698 (patch)
tree6981bf41101d7a4f098c097d024f85af3dceaa80 /include/fastboot.h
parentbb83c0f35af6a992c21790b21259dbd819f56e35 (diff)
downloadu-boot-imx-7bfc3b134626aafd70b550db094df327437c5698.zip
u-boot-imx-7bfc3b134626aafd70b550db094df327437c5698.tar.gz
u-boot-imx-7bfc3b134626aafd70b550db094df327437c5698.tar.bz2
sparse: Refactor chunk parsing function
The chunk parsing code was duplicating a lot of code among the various chunk types, while all of them could be covered by generic and simple functions. Refactor the current code to reuse as much code as possible and hopefully make the chunk parsing loop more readable and concise. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/fastboot.h')
0 files changed, 0 insertions, 0 deletions