firmware-utils: bcm4908img: replace size with offset
authorRafał Miłecki <rafal@milecki.pl>
Mon, 5 Apr 2021 23:06:52 +0000 (01:06 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 6 Apr 2021 22:12:01 +0000 (00:12 +0200)
commitf7f1bb2354fc95f2c613478381ebca281f625010
tree6148bf134d6d6a82867e0c00e6ee18b97e6ad381
parentb49d9a534d58232fc2b0602dcaea15629f08bc4d
firmware-utils: bcm4908img: replace size with offset

It's much easier to operate on BCM4908 image data with absolute offset
of each section stored. It doesn't require summing sizes over and over.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
src/bcm4908img.c