From: Tom Rini Date: Wed, 28 Oct 2015 16:55:56 -0400 Subject: [U-Boot] [PATCH] mmc: Use lldiv() for 64-bit division in write_raw_image() In-Reply-To: <1446006256-19153-1-git-send-email-siarhei.siamashka@gmail.com> References: <1446006256-19153-1-git-send-email-siarhei.siamashka@gmail.com> Message-ID: <20151028205556.GF23893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 28, 2015 at 06:24:16AM +0200, Siarhei Siamashka wrote: > This fixes compilation problems when using a hardfloat toolchain on > ARM, which manifest themselves as "libgcc.a(_udivmoddi4.o) uses > VFP register arguments, u-boot does not". > > These problems have been reported in the U-Boot mailing list: > http://lists.denx.de/pipermail/u-boot/2015-October/230314.html > http://lists.denx.de/pipermail/u-boot/2015-October/231908.html > > Signed-off-by: Siarhei Siamashka We care about the result not the remainder here so lldiv is correct. Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: