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 cbfstool: Update LZMA encoder to LZMA SDK 9.12 2012-11-12 18:35:52 +01:00
EXAMPLE Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Makefile cbfstool: Update LZMA encoder to LZMA SDK 9.12 2012-11-12 18:35:52 +01:00
Makefile.inc cbfstool: Align the column of build hint message. 2012-12-14 08:46:26 +01:00
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 fix some wrong versions of the FSF's address (trivial) 2009-09-23 21:52:45 +00:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00