tools/mkimage: fix compiler warnings, use "const"
authorWolfgang Denk <wd@denx.de>
Wed, 19 Aug 2009 09:42:56 +0000 (11:42 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Sep 2009 20:58:48 +0000 (22:58 +0200)
commit3a2003f61ee79ac53d20c24cc896c2637a2dfc24
treefd336943fac56319b371b3523895b97f4d62ee58
parent89a4d6b12fd6394898b8a454cbabeaf1cd59bae5
tools/mkimage: fix compiler warnings, use "const"

This fixes some compiler warnings:
tools/default_image.c:141: warning: initialization from incompatible pointer type
tools/fit_image.c:202: warning: initialization from incompatible pointer type
and changes to code to use "const" attributes in a few places where
it's appropriate.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/image.c
include/image.h
tools/mkimage.h