diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-01-04 13:56:00 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-06 17:45:15 +0100 |
commit | bb826ef661f7ff390e284bcae6b0b330ca48ceb3 (patch) | |
tree | 1ad335bfdb27d585792d9c79bb12d1cb3d475191 /util/ifdfake | |
parent | 12c55eda11453ed1e7a24e218338831f67cd5de6 (diff) | |
download | coreboot-bb826ef661f7ff390e284bcae6b0b330ca48ceb3.tar.xz |
cbfstool: correct add-master-header logic to match runtime expectations
The cbfs master header's offset and romsize fields are absolute values
within the boot media proper. Therefore, when adding a master header
provide the offset of the CBFS region one is operating on as well as
the absolute end offset (romsize) to match expectations.
Built with and without CBFS_SIZE != ROM_SIZE on x86 and ARM device. Manually
inspected the master headers within the images to confirm proper caclulations.
Change-Id: Id0623fd713ee7a481ce3326f4770c81beda20f64
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/12825
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'util/ifdfake')
0 files changed, 0 insertions, 0 deletions