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>
master
Tom Wai-Hong Tam 12 years ago committed by Albert ARIBAUD
parent 15a33e49de
commit fe34f8dc8c
  1. 5
      arch/arm/lib/Makefile

@ -42,14 +42,15 @@ ifndef CONFIG_SPL_BUILD
COBJS-y += board.o COBJS-y += board.o
COBJS-y += bootm.o COBJS-y += bootm.o
COBJS-$(CONFIG_SYS_L2_PL310) += cache-pl310.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_MEMSET) += memset.o
SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o SOBJS-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o
else else
COBJS-$(CONFIG_SPL_FRAMEWORK) += spl.o COBJS-$(CONFIG_SPL_FRAMEWORK) += spl.o
endif endif
COBJS-y += interrupts.o
COBJS-y += reset.o
COBJS-y += cache.o COBJS-y += cache.o
COBJS-y += cache-cp15.o COBJS-y += cache-cp15.o

Loading…
Cancel
Save