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>
Wed, 7 Apr 2021 06:02:41 +0000 (08:02 +0200)
commited7edf88e20c9dd0026e5c5629d8a6500d3e3f80
tree42fd225f50cec6c781eead7084b97142d4d1e927
parentdcbde11af181055f2d1c77ebc19f50c29bbab96e
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>
tools/firmware-utils/src/bcm4908img.c