diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-01-28 15:04:30 +0800 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-02-01 06:06:41 +0100 |
commit | 05dccae75df4ed0c6a75867a89cf1a4055507e28 (patch) | |
tree | ffb7291d0975565da5d1a8cc40277459dc9cc3a5 /payloads | |
parent | 4d87d4e09b38d152425f060f088f3a44b7dacfcb (diff) |
cbfstool: move flat-binary parsing to cbfs-mkpayload.
The ELF parsing and payload building in add-flat-binary command should be
isolated just like mkpayload and mkstage.
Since the add-flat-binary command creates a payload in the end , move payload
processing to cbfs-mkpayload.c.
To test:
cbfstool coreboot.rom add-flat-binary -f u-boot.bin -n fallback/payload \
-l 0x100000 -e 0x100020
To verify, get output from "cbfstool coreboot.rom print -v":
fallback/payload 0x73ccc0 payload 124920
INFO: code (no compression, offset: 0x38, load: 0x1110000, length:..)
Change-Id: Ia7bd2e6160507c0a1e8e20bc1d08397ce9826e0d
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2197
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'payloads')
0 files changed, 0 insertions, 0 deletions