]> git.sur5r.net Git - u-boot/commit
tools/imximage.c: Fix compiling warning
authorYork Sun <yorksun@freescale.com>
Fri, 20 Sep 2013 19:24:44 +0000 (12:24 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Sep 2013 11:53:35 +0000 (13:53 +0200)
commit72048bc3f169a66384548463f3128453970207c2
treea39ac532b6548e605256dafdcdeea171710e2a9a
parentfd37f195cacc068ad4c070dd794643fcb25ef21a
tools/imximage.c: Fix compiling warning

Convert set_hdr_func(struct imx_header *imxhdr) to set_hdr_func(void)
to get rid of the warning

warning: ‘imxhdr’ is used uninitialized in this function

Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
tools/imximage.c