summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2012-11-30 13:01:21 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-01-10 22:22:15 +0100
commitfe34f8dc8ca719d83a4bc67a35e15dfc780559e9 (patch)
tree16f7ba0e2a01eb723c3f689f3bc6e17f081817e9
parent15a33e49decc81f34b35998a61757bfe2becae83 (diff)
downloadu-boot-imx-fe34f8dc8ca719d83a4bc67a35e15dfc780559e9.zip
u-boot-imx-fe34f8dc8ca719d83a4bc67a35e15dfc780559e9.tar.gz
u-boot-imx-fe34f8dc8ca719d83a4bc67a35e15dfc780559e9.tar.bz2
arm: Make interrupts.o and reset.o in libarm also appear in SPL
SPL u-boot may call do_reset() which depends on interrupts.o and reset.o. So make them also appear in SPL. Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/arm/lib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 07baee2..57111af 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -42,14 +42,15 @@ ifndef CONFIG_SPL_BUILD
COBJS-y += board.o
COBJS-y += bootm.o
COBJS-$(CONFIG_SYS_L2_PL310) += cache-pl310.o
-COBJS-y += interrupts.o
-COBJS-y += reset.o
SOBJS-$(CONFIG_USE_ARCH_MEMSET) += memset.o
SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o
else
COBJS-$(CONFIG_SPL_FRAMEWORK) += spl.o
endif
+COBJS-y += interrupts.o
+COBJS-y += reset.o
+
COBJS-y += cache.o
COBJS-y += cache-cp15.o