coreboot-kgpe-d16/util/cbfstool
Stefan Reinauer 632175802e cbfstool: Rework to use getopt style parameters
- Adding more and more optional and non-optional parameters
  bloated cbfstool and made the code hard to read with a lot
  of parsing in the actual cbfs handling functions. This change
  switches over to use getopt style options for everything but
  command and cbfs file name.
- This allows us to simplify the coreboot Makefiles a bit
- Also, add guards to include files
- Fix some 80+ character lines
- Add more detailed error reporting
- Free memory we're allocating

Signed-off-by: Stefan Reinauer <reinauer@google.com>
Change-Id: Ia9137942deb8d26bbb30068e6de72466afe9b0a7
Reviewed-on: http://review.coreboot.org/1800
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-11-12 18:38:03 +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: Update LZMA encoder to LZMA SDK 9.12 2012-11-12 18:35:52 +01:00
cbfs-mkpayload.c correctly mark code segments as code in SELF 2012-03-07 14:20:09 +01:00
cbfs-mkstage.c cbfstool: Rework to use getopt style parameters 2012-11-12 18:38:03 +01:00
cbfs.h cbfstool: Rework to use getopt style parameters 2012-11-12 18:38:03 +01:00
cbfstool.c cbfstool: Rework to use getopt style parameters 2012-11-12 18:38:03 +01:00
common.c cbfstool: Rework to use getopt style parameters 2012-11-12 18:38:03 +01:00
common.h cbfstool: Rework to use getopt style parameters 2012-11-12 18:38:03 +01:00
compress.c New cbfstool. Works without mmap or fork/exec and 2009-09-14 13:29:27 +00: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