[U-Boot] [PATCH] mx5: Correct a warning in clock.c

Stefano Babic sbabic at denx.de
Fri Nov 18 18:20:02 CET 2011


On 11/05/2011 03:25 PM, Simon Glass wrote:
> This corects the warning below, obtained with my gcc 4.6 compiler.
> 
> arch/arm/cpu/armv7/mx5/libmx5.o: In function `decode_pll':
> arch/arm/cpu/armv7/mx5/clock.c:94: undefined reference to `__aeabi_uldivmod'
> 
> I am not able to test this on MX5x hardware, but it does improve the
> MAKEALL output for me. You may already have a similar patch, but I cannot
> see it on the list.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Sorry to check this late, but...


...I have built with gcc 4.6.1, no warning at all:

Configuring for mx53loco - Board: mx53loco, Options:
IMX_CONFIG=board/freescale/mx53loco/imximage.cfg
   text	   data	    bss	    dec	    hex	filename
 191025	   3976	 218384	 413385	  64ec9	./u-boot

The same for all other MX5 boards - I do not see the issue you reported.

Best regards,
Stefano Babic

-- 
=====================================================================
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