[U-Boot] [PATCH 03/13] sparse: Refactor chunk parsing function

Tom Rini
2015-09-04T17:20:29Z

On Mon, Aug 31, 2015 at 04:46:03PM +0200, Maxime Ripard wrote:

> 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>

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150904/4db16657/attachment.sig>