aboot: fix block addressing for don't care chunk type
authorRob Herring <robh@kernel.org>
Thu, 16 Oct 2014 03:19:36 +0000 (11:19 +0800)
committerTom Rini <trini@ti.com>
Mon, 27 Oct 2014 21:54:09 +0000 (17:54 -0400)
commit998194584e53db13a9ed01f78c8f856e8f0bec67
treefb5033a53c71ace66244baf59c658f4230a8fde1
parentee665114c512dcd0654eaef236f78f0f7c31010e
aboot: fix block addressing for don't care chunk type

CHUNK_TYPE_DONT_CARE should skip over the specified number of blocks, but
currently fails to increment the device block address. This results in
filesystem images getting written incorrectly. Add the missing block
address incrementing.

Cc: Steve Rae <srae@broadcom.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Steve Rae <srae@broadcom.com>
common/aboot.c