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

Michal Simek monstr at monstr.eu
Mon Feb 17 07:50:26 CET 2014


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.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140217/79955143/attachment.pgp>


More information about the U-Boot mailing list