summaryrefslogtreecommitdiff
path: root/arch/arm/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-16 13:44:34 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2016-03-17 02:27:27 (GMT)
commit9ab60493c9cf018e82b0a6d0f2f35792dfb12ba9 (patch)
treef6b7f523569a7d2344efd97946cb55716b755ccc /arch/arm/lib/Makefile
parent93a1c3cd54313f9d0ece5aba417e7feeedd503a9 (diff)
downloadu-boot-fsl-qoriq-9ab60493c9cf018e82b0a6d0f2f35792dfb12ba9.tar.xz
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>
Diffstat (limited to 'arch/arm/lib/Makefile')
-rw-r--r--arch/arm/lib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index f3db7b5..7a0fb58 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -6,7 +6,8 @@
#
lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _divsi3.o \
- _lshrdi3.o _modsi3.o _udivsi3.o _umodsi3.o div0.o
+ _lshrdi3.o _modsi3.o _udivsi3.o _umodsi3.o div0.o \
+ _uldivmod.o
ifdef CONFIG_CPU_V7M
obj-y += vectors_m.o crt0.o