diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-01-20 18:45:07 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-01-21 18:47:58 +0100 |
commit | 9a17d04e40b3f45f348963b8e3154fd3b869697b (patch) | |
tree | eb0a509d7725b72d1b2b461b667881a69008156c /src/commonlib | |
parent | a5a628e86b5484200977d2d4f4a62a0d972aaf4a (diff) |
cbfstool: don't rewrite param.baseaddress in cbfs_add
cbfs_add calculated a base address out of the alignment specification
and stored it in param.baseaddress.
This worked when every cbfstool invocation only added a single file, but
with -r REGION1,REGION2,... multiple additions can happen.
In that case, the second (and later) additions would have both alignment
and baseaddress set, which isn't allowed, aborting the process.
Change-Id: I8c5a512dbe3c97e08c5bcd92b5541b58f65c63b3
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13063
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/commonlib')
0 files changed, 0 insertions, 0 deletions