From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 17 Feb 2014 10:07:11 +0100 Subject: [U-Boot] [PATCH] arm: zynq: correct the argument to lldiv In-Reply-To: <5301B132.6040206@monstr.eu> References: <5301B132.6040206@monstr.eu> Message-ID: <20140217100711.1e2be85d@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 rounding of the multiplication result to > > 32-bit value > > We found this in connection to eeprom write test. > > Signed-off-by: Michal Simek > > 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.