firmware-utils: bcm4908img: fix extracting cferom
authorRafał Miłecki <rafal@milecki.pl>
Tue, 6 Apr 2021 22:17:40 +0000 (00:17 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 8 Apr 2021 11:16:12 +0000 (13:16 +0200)
commitfe302010d3493286ef1a6a3b440d243208b93a5c
tree4ddd44e84bc44e2af63b5d2e0cb354ea344a8e91
parente708c5ef08b5d3691d155a6fa2ac40c95ecd4283
firmware-utils: bcm4908img: fix extracting cferom

Fix offset to extract proper data when image contains vendor header.

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