diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-10-27 21:02:30 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2015-10-29 17:00:24 +0100 |
commit | 5a1e85c405782731d298225482927fedb733a329 (patch) | |
tree | cf57bfa9a23e325c21a9224fc8d551c22500befd /util/cbfstool/common.c | |
parent | 4f930c96496250d167bc1a397fa1faa9f20b3168 (diff) |
cbfstool: create ELF files when extracting stages
Instead of dumping the raw stage data when cbfstool
extract is used on stage create an equivalent ELF file.
Because there isn't a lot of information within a stage
file only a rudimentary ELF can be created.
Note: this will break Chrome OS' current usage of extract
since the file is no longer a cbfs_stage. It's an ELF file.
TEST=Extracted romstage from rom.
Change-Id: I8d24a7fa4c5717e4bbba5963139d0d9af4ef8f52
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12219
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/cbfstool/common.c')
0 files changed, 0 insertions, 0 deletions