coreboot-kgpe-d16/util/cbfstool
Hung-Te Lin 05dccae75d 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>
2013-02-01 06:06:41 +01:00
..
lzma
EXAMPLE
Makefile
Makefile.inc
cbfs-mkpayload.c cbfstool: move flat-binary parsing to cbfs-mkpayload. 2013-02-01 06:06:41 +01:00
cbfs-mkstage.c cbfstool: Add -v (verbose) output. 2013-02-01 05:54:24 +01:00
cbfs.h Add more information to the cbfstool print 2013-01-19 02:19:14 +01:00
cbfstool.c cbfstool: move flat-binary parsing to cbfs-mkpayload. 2013-02-01 06:06:41 +01:00
common.c cbfstool: Add -v (verbose) output. 2013-02-01 05:54:24 +01:00
common.h cbfstool: move flat-binary parsing to cbfs-mkpayload. 2013-02-01 06:06:41 +01:00
compress.c cbfstool: Add -v (verbose) output. 2013-02-01 05:54:24 +01:00
elf.h
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00