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)
commit5314cab729b743d3b8b08db4e01c3095017f4e68
tree5106f421b8331e1b8a8653271f6171404ed8f06d
parentf4f4259ca17e61a2bb14b9453e050451478f546a
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>
tools/firmware-utils/src/bcm4908img.c