瀏覽代碼

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>
Aneesh V 13 年之前
父節點
當前提交
87d3da7b01
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/arm/cpu/armv7/Makefile

+ 2 - 2
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))