]> git.sur5r.net Git - u-boot/commit
arm: Add a 64-bit division routine to the private library
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:44:34 +0000 (07:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:27 +0000 (10:27 +0800)
commit9ab60493c9cf018e82b0a6d0f2f35792dfb12ba9
treef6b7f523569a7d2344efd97946cb55716b755ccc
parent93a1c3cd54313f9d0ece5aba417e7feeedd503a9
arm: Add a 64-bit division routine to the private library

This is missing, with causes lldiv() to fail on boards with use the private
libgcc. Add the missing routine.

Code is available for using the CLZ instruction but it is not enabled at
present.

This comes from coreboot version 4.0.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/Makefile
arch/arm/lib/_uldivmod.S [new file with mode: 0644]