]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: Make interrupts.o and reset.o in libarm also appear in SPL
authorTom Wai-Hong Tam <waihong@chromium.org>
Fri, 30 Nov 2012 13:01:21 +0000 (13:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 10 Jan 2013 21:22:15 +0000 (22:22 +0100)
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>
arch/arm/lib/Makefile

index 07baee2ec6540426549b22a2d1d3b697a693e4d9..57111afd90c1427fd8a0b27b137c25857102ef1d 100644 (file)
@@ -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