commit | 5e0efc1bc6e358efcf6cd234192a0eead21d760f | [log] [tgz] |
---|---|---|
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | Wed Oct 28 06:24:16 2015 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 12 15:58:59 2015 -0500 |
tree | 8582d212513685cd79f2be19a3350b7fddf97f44 | |
parent | bcb41dcaefacdd4cf0f679b34224cb3d997ee8b4 [diff] |
mmc: Use lldiv() for 64-bit division in write_raw_image() 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 <siarhei.siamashka@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>