[U-Boot] [PATCH V3 3/3] mkimage: adding support for Davinci AIS image

stefano babic sbabic at denx.de
Sun Oct 30 08:29:15 CET 2011


Am 29/10/2011 18:51, schrieb Dirk Behme:

> 
> Hmm, using recent git head this results in

Hi Remy,

> 
> aisimage.c: In function ‘aisimage_generate’:
> aisimage.c:365: warning: ‘tsize’ may be used uninitialized in this function
> 
> for each board I build :(
> 
> E.g.
> 
> Configuring for omap3_evm board...
> aisimage.c: In function ‘aisimage_generate’:
> aisimage.c:365: warning: ‘tsize’ may be used uninitialized in this function
>    text    data     bss     dec     hex filename
>  256063    7512  259120  522695   7f9c7 ./u-boot

Apart from the fact that the tsize parameter is not needed anymore and I
will fix it, can I ask you which toolchain and which gcc have you used ?
I have tried with a very old gcc 4.2.2 (ELDK-4.2) and gcc 4.6.1
(ELDK-5.1). With the last one I get a warning, but for another reason:

./MAKEALL omap3_evm
Configuring for omap3_evm board...
musb_hcd.c: In function 'submit_control_msg':
musb_hcd.c:851:6: warning: variable 'csr' set but not used
[-Wunused-but-set-variable]
   text	   data	    bss	    dec	    hex	filename
 250892	   7472	 259120	 517484	  7e56c	./u-boot

No warning with older gcc.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list