diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-10-15 14:34:11 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 13:17:29 -0500 |
commit | 7bfc3b134626aafd70b550db094df327437c5698 (patch) | |
tree | 6981bf41101d7a4f098c097d024f85af3dceaa80 /test/env/Makefile | |
parent | bb83c0f35af6a992c21790b21259dbd819f56e35 (diff) | |
download | u-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 'test/env/Makefile')
0 files changed, 0 insertions, 0 deletions