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

Simon Glass sjg at chromium.org
Sun Nov 20 06:43:20 CET 2011


Hi Mike,

On Sat, Nov 19, 2011 at 9:31 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> 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
>

OK, I have no problem with it, but this problem may not show up for
people using vanilla MAKEALL, hence Stefano's email.

Regards,
Simon


More information about the U-Boot mailing list