coreboot-kgpe-d16/util/cbfstool
Hung-Te Lin d173962c6e cbfstool: Store global variables into struct.
cbfstool.c uses lots of global variables for command line options and all named
as "rom*". This may be confusing when other global variables also start with
rom, ex:	int size = rom_size + romsize;
(rom_size is from command line and romsize is the size of last loaded ROM image).

If we pack all rom_* into a struct it may be more clear, ex:
	do_something(param.cbfs_name, param.size, &romsize);

Change-Id: I5a298f4d67e712f90e998bcb70f2a68b8c0db6ac
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2195
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-01-28 19:59:40 +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 Add multi-architecture support to cbfstool 2012-11-30 00:42:31 +01:00
cbfs-mkstage.c Add multi-architecture support to cbfstool 2012-11-30 00:42:31 +01:00
cbfs.h Add more information to the cbfstool print 2013-01-19 02:19:14 +01:00
cbfstool.c cbfstool: Store global variables into struct. 2013-01-28 19:59:40 +01:00
common.c Add more information to the cbfstool print 2013-01-19 02:19:14 +01:00
common.h cbfstool: Fix warnings on OS X 2013-01-04 23:29:37 +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