[U-Boot] [PATCH] arm: zynq: correct the argument to lldiv

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Feb 17 10:07:11 CET 2014


Hi Michal,

On Mon, 17 Feb 2014 07:50:26 +0100, Michal Simek <monstr at monstr.eu>
wrote:

> On 02/17/2014 07:12 AM, Siva Durga Prasad Paladugu wrote:
> > Typecast the argument with unsigned long
> > long for proper calculation of lldiv
> > 
> > Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
> > ---
> > -Fixes the issue of rounding of the multiplication result to
> >  32-bit value
> 
> We found this in connection to eeprom write test.
> 
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> 
> Albert: This is the bug fixed I was talking you about on IRC.
> Will add it to my zynq pull request if this is fine for others.

Fine for me at least. As soon as my current PR to u-boot/master is
applied (cc: Tom), I'll resume applying patches, starting with your Zynq
PR, so if it was updated meanwhile, I'll apply the updated one.

> Thanks,
> Michal

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list