u-boot/tools
Prafulla Wadaskar 89a4d6b12f tools: mkimage: split code into core, default and FIT image specific
This is a first step towards reorganizing the mkimage code to make it
easier to add support for additional images types. Current mkimage
code is specific to generating uImage and FIT image files, but the
same framework can be used to generate other image types like
Kirkwood boot images (kwbimage-TBD). For this, the mkimage code gets
reworked:

Here is the brief plan for the same:-
a) Split mkimage code into core and image specific support
b) Implement callback functions for image specific code
c) Move image type specific code to respective C files
       Currently there are two types of file generation/list
       supported (i.e uImage, FIT), the code is abstracted from
       mkimage.c/.h and put in default_image.c and fit_image.c;
       all code in these file is static except init function call
d) mkimage_register API is added to add new image type support
All above is addressed in this patch
e) Add kwbimage type support to this new framework (TBD)
This will be implemented in a following commit.

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Edit commit message, fix coding style and typos.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-09-10 22:58:48 +02:00
..
bddb Update Hymod Board Database PHP code in "tools" directory 2005-08-12 23:27:18 +02:00
easylogo easylogo: add optional gzip support 2009-01-24 02:05:22 +01:00
env Fix a typo in fw_env.config 2008-12-15 21:49:03 +01:00
gdb unify HOST_CFLAGS and HOSTCFLAGS 2009-07-23 21:26:14 +02:00
imls unify HOST_CFLAGS and HOSTCFLAGS 2009-07-23 21:26:14 +02:00
logos at91: add support for the PM9263 board of Ronetix GmbH 2009-04-16 21:30:48 +02:00
scripts make define2mk.sed work on FreeBSD 2008-02-22 21:27:01 +01:00
updater Replace __asm references with __asm__ 2009-04-28 01:02:04 +02:00
.gitignore tools: add ncb to gitignore 2009-04-04 15:34:16 +02:00
bin2header.c Add 'license' command to U-Boot command line 2008-08-18 23:21:49 +02:00
bmp_logo.c compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
default_image.c tools: mkimage: split code into core, default and FIT image specific 2009-09-10 22:58:48 +02:00
envcrc.c tools/envcrc: add --binary option to export embedded env 2009-06-12 20:39:47 +02:00
fdt_host.h [new uImage] Add libfdt support to mkimage 2008-02-29 16:00:24 +01:00
fit_image.c tools: mkimage: split code into core, default and FIT image specific 2009-09-10 22:58:48 +02:00
gen_eth_addr.c gen_eth_addr: Use POSIX rand() and srand() 2009-04-04 01:09:56 +02:00
img2brec.sh Fix file permissions 2005-07-21 11:22:21 +02:00
img2srec.c compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
inca-swap-bytes.c * Patch by Arun Dharankar, 4 Apr 2003: 2003-04-05 00:53:31 +00:00
jtagconsole Blackfin: add jtagconsole helper script 2009-06-15 11:15:04 +02:00
Makefile tools: mkimage: split code into core, default and FIT image specific 2009-09-10 22:58:48 +02:00
mingw_support.c Add support for building native win32 tools 2009-04-04 01:21:02 +02:00
mingw_support.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
mkimage.c tools: mkimage: split code into core, default and FIT image specific 2009-09-10 22:58:48 +02:00
mkimage.h tools: mkimage: split code into core, default and FIT image specific 2009-09-10 22:58:48 +02:00
mpc86x_clk.c * Patch by Anders Larsen, 18 Sep 2003: 2003-10-08 22:14:02 +00:00
ncb.c ncb: Check return value of write() 2009-04-28 01:16:46 +02:00
netconsole tools/netconsole: new script for working with netconsole over UDP 2008-12-10 09:23:11 +01:00
os_support.c compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
os_support.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
setlocalversion tools/setlocalversion: use git svn instead of git-svn 2009-04-04 23:11:16 +02:00
ubsha1.c compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00