Implement function that automatically converts a SELF payload, extracted from the CBFS, into an ELF file.
The code has been tested on the following payloads: Working: GRUB, FILO, SeaBIOS, nvramcui, coreinfo and tint Currently not working: none
Change-Id: I51599e65419bfa4ada8fe24b119acb20c9936227
fda691e cbfstool: Extract payload in ELF
util/cbfstool/cbfs_image.c | 246 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 242 insertions(+), 4 deletions(-)
Upstream: review.coreboot.org