]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
armv7: include armv7/cpu.c in SPL build
authorAneesh V <aneesh@ti.com>
Mon, 21 Nov 2011 23:33:59 +0000 (23:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:33 +0000 (23:59 +0100)
This allows SPL to have default implementation of
save_boot_params(), useful for SoCs that do
not intend to override this default implementation

Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Signed-off-by: Aneesh V <aneesh@ti.com>
arch/arm/cpu/armv7/Makefile

index 92a5a968006327deaa8b6706f4956b01de6db4f8..f97fa3d44824c7fb442d927d3e1fe223f362f4a2 100644 (file)
@@ -29,10 +29,10 @@ START       := start.o
 
 ifndef CONFIG_SPL_BUILD
 COBJS  += cache_v7.o
-COBJS  += cpu.o
 endif
 
-COBJS  += syslib.o
+COBJS  += cpu.o
+COBJS  += syslib.o
 
 SRCS   := $(START:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))