]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/samsung/smdk5250/Makefile
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / samsung / smdk5250 / Makefile
index 80e8be32d0c440c4d767d5f6207a52647bc7b333..f2c32ee4c8777d71bfd6918b2a59d7c25c53f14f 100644 (file)
@@ -27,9 +27,20 @@ LIB  = $(obj)lib$(BOARD).o
 SOBJS  := lowlevel_init.o
 
 COBJS  := clock_init.o
-COBJS  += dmc_init.o
-COBJS  += tzpc_init.o
+COBJS  += dmc_common.o dmc_init_ddr3.o
+COBJS  += smdk5250_spl.o
+
+ifndef CONFIG_SPL_BUILD
+ifdef CONFIG_OF_CONTROL
+COBJS  += exynos5-dt.o
+else
 COBJS  += smdk5250.o
+endif
+endif
+
+ifdef CONFIG_SPL_BUILD
+COBJS  += spl_boot.o
+endif
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS) $(SOBJS))