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

2014-02-17 Thread Michal Simek
On 02/17/2014 10:07 AM, Albert ARIBAUD wrote: > Hi Michal, > > On Mon, 17 Feb 2014 07:50:26 +0100, Michal Simek > 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: Siv

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

2014-02-17 Thread Albert ARIBAUD
Hi Michal, On Mon, 17 Feb 2014 07:50:26 +0100, Michal Simek 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 > > --- > > -Fixes the issue of

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

2014-02-16 Thread Michal Simek
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 > --- > -Fixes the issue of rounding of the multiplication result to > 32-bit value We found this in connecti

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

2014-02-16 Thread Siva Durga Prasad Paladugu
Typecast the argument with unsigned long long for proper calculation of lldiv Signed-off-by: Siva Durga Prasad Paladugu --- -Fixes the issue of rounding of the multiplication result to 32-bit value --- arch/arm/cpu/armv7/zynq/timer.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)