SMDK5250 board support different type of memory chips like DDR3, LPDDR2
and LPDDR3. Since the memory setup sequence for different types of
chips are different, therefore, we will have different dmc_init_xxx.c files.
Hence, renaming the dmc_init.c file (which is specific to LPDDR2)
to dmc_init_lpddr2.c

Signed-off-by: Hatim Ali <[email protected]>

diff --git a/board/samsung/smdk5250/Makefile b/board/samsung/smdk5250/Makefile
index 226db1f..b18002a 100644
--- a/board/samsung/smdk5250/Makefile
+++ b/board/samsung/smdk5250/Makefile
@@ -27,7 +27,7 @@ LIB   = $(obj)lib$(BOARD).o
 SOBJS  := lowlevel_init.o
 
 COBJS  := clock_init.o
-COBJS  += dmc_init.o
+COBJS  += dmc_init_lpddr2.o
 COBJS  += tzpc_init.o
 
 ifndef CONFIG_SPL_BUILD
diff --git a/board/samsung/smdk5250/dmc_init.c 
b/board/samsung/smdk5250/dmc_init_lpddr2.c
similarity index 100%
rename from board/samsung/smdk5250/dmc_init.c
rename to board/samsung/smdk5250/dmc_init_lpddr2.c
-- 
1.7.2.3

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to