aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/firmware-utils/src/bcm4908img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/bcm4908img.c b/tools/firmware-utils/src/bcm4908img.c
index 51c06041d6..b82303bf6d 100644
--- a/tools/firmware-utils/src/bcm4908img.c
+++ b/tools/firmware-utils/src/bcm4908img.c
@@ -580,7 +580,7 @@ static int bcm4908img_extract(int argc, char **argv) {
}
if (!strcmp(type, "cferom")) {
- offset = 0;
+ offset = info.cferom_offset;
length = info.bootfs_offset - offset;
if (!length) {
err = -ENOENT;