cbfstool: add add-flat-binary command to add raw executables
commit20848ee288a74a2320411b33fa19dce78133c890
authorStefan Reinauer <reinauer@chromium.org>
Mon, 22 Oct 2012 23:04:13 +0000 (22 16:04 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 12 Nov 2012 02:25:50 +0000 (12 03:25 +0100)
treedc812b23556aa6fbb73d968f856ef07ba4fb45e9
parent4bb0731a7beaada481371fb19117cdf9f62f5f23
cbfstool: add add-flat-binary command to add raw executables

Example:
cbfstool image-link.bin add-flat-binary u-boot.bin fallback/payload \
0x100000 0x100020
will add u-boot.bin as fallback/payload with a load address of 0x100000
and an entry-point of 0x10002.

Change-Id: I6cd04a65eee9f66162f822e168b0e96dbf75a2a7
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1792
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/cbfstool/cbfstool.c