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

Mike Frysinger vapier at gentoo.org
Sun Nov 20 06:31:05 CET 2011


On Sunday 20 November 2011 00:08:05 Simon Glass wrote:
> On Fri, Nov 18, 2011 at 11:53 AM, Mike Frysinger wrote:
> > On Friday 18 November 2011 12:20:02 Stefano Babic wrote:
> >> 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 do not see the issue you reported.
> > 
> > are you using PRIVATE LIBGCC ?
> 
> Yes, perhaps as a side-effect of the buildall script...

by design.  some arm boards want big endian, some want little.  using private 
allows using of just one gcc.

> Since a recent ARM patch to support widen divide was rejected, I
> assume that we should use do_div() in these cases?

yes, as it involves a 64bit in the division.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111120/8993ed44/attachment.pgp>


More information about the U-Boot mailing list