tools: mkimage: Move image header code to image specific files
commit0cae334acb100b7c2faee81f659a5dbabdc57c2f
authorPrafulla Wadaskar <prafulla@marvell.com>
Mon, 27 Jul 2009 13:28:42 +0000 (27 18:58 +0530)
committerPrafulla Wadaskar <prafulla@server.marvell.com>
Fri, 31 Jul 2009 10:50:16 +0000 (31 03:50 -0700)
tree50d63024da353d51c21c37a99699477061771c50
parent90ab03e962e5d8ad26bffe795e05d207f61b3dd1
tools: mkimage: Move image header code to image specific files

This is second step towards cleaning mkimage code for kwbimage
support in clean way. In this patch-
1. The image_get_header_size function call is replaced by sizeof(image_header_t)
   in default_image.c
2. image header code moved form mkimage.c to default_image .c

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
tools/default_image.c
tools/default_image.h
tools/mkimage.c
tools/mkimage.h