firmware-utils: bcm4908img: find cferom size
authorRafał Miłecki <rafal@milecki.pl>
Fri, 2 Apr 2021 13:04:46 +0000 (15:04 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 8 Apr 2021 11:16:11 +0000 (13:16 +0200)
commitc1fb10febabb219373c5c1a0785941faacf3421c
treec011da0da67065c24ae4277bbbf65393b780caa0
parente9a7c22d3ccbcd782233c3f48ba5d20ea363f3f6
firmware-utils: bcm4908img: find cferom size

It's important for modifying / extracting firmware content. cferom is
optional image content at the file beginning.

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