summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2011-11-21 23:33:59 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:33 +0100
commit87d3da7b01ee083447f9fcc62f35427d5fde2e2f (patch)
treed9e6ed98b99be47585a0bc04ae3a736b37c2496e
parentdc7100f4080952798413fb63bb4134b22c57623a (diff)
downloadu-boot-imx-87d3da7b01ee083447f9fcc62f35427d5fde2e2f.zip
u-boot-imx-87d3da7b01ee083447f9fcc62f35427d5fde2e2f.tar.gz
u-boot-imx-87d3da7b01ee083447f9fcc62f35427d5fde2e2f.tar.bz2
armv7: include armv7/cpu.c in SPL build
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>
-rw-r--r--arch/arm/cpu/armv7/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 92a5a96..f97fa3d 100644
--- a/arch/arm/cpu/armv7/Makefile
+++ b/arch/arm/cpu/armv7/Makefile
@@ -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))