firmware-utils: bcm4908img: extract bootfs without padding
authorRafał Miłecki <rafal@milecki.pl>
Wed, 7 Apr 2021 05:59:57 +0000 (07:59 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 8 Apr 2021 11:16:13 +0000 (13:16 +0200)
commit2e2b5833931895f5cb6138b8563aa5ff1010a0ff
tree566f2b746630cf2abdfe75296d3ec20148ca1093
parentfe302010d3493286ef1a6a3b440d243208b93a5c
firmware-utils: bcm4908img: extract bootfs without padding

JFFS2 bootfs partition in a BCM4908 image usually includes some padding.
For flashing it individually (writing to designed MTD partition) we want
just JFFS2 data.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit ed7edf88e20c9dd0026e5c5629d8a6500d3e3f80)
tools/firmware-utils/src/bcm4908img.c