aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/coreboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coreboot.c b/src/coreboot.c
index 6ad4cfc..c70e8aa 100644
--- a/src/coreboot.c
+++ b/src/coreboot.c
@@ -375,7 +375,7 @@ coreboot_cbfs_init(void)
}
romfile_add(&cfile->file);
- fhdr = (void*)ALIGN((u32)cfile->data + cfile->file.size
+ fhdr = (void*)ALIGN((u32)cfile->data + cfile->rawsize
, be32_to_cpu(hdr->align));
}
}