Add "cbfstool extract" function.
authorAurelien Guillaume <aurelien@iwi.me>
Thu, 13 Jan 2011 09:09:21 +0000 (09:09 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Thu, 13 Jan 2011 09:09:21 +0000 (09:09 +0000)
commitfe7d6b9a4a784f0b92b3c9dc5b6c6070b4c2e10c
treed4cfb2ab5f100fb49539f60ca7fe5dca876145ba
parentfb433bea6a886e8c00620bf4c799feae0d6c7072
Add "cbfstool extract" function.

It dumps everything you ask for, but you might not
get what you expect if the file is compressed or
otherwise converted (eg. payloads in SELF format).
(Originally it would only extract "raw" files.
This is a change by me, as filetypes are commonly used
to differentiate raw data files --Patrick)

Signed-off-by: Aurelien Guillaume <aurelien@iwi.me>
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Patrick Georgi <patrick.georgi@secunet.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6250 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/cbfstool/cbfstool.c
util/cbfstool/common.c
util/cbfstool/common.h