[U-Boot] [PATCH 1/5] SMDK5250: LPDDR2: Renaming the dmc_init.c file to dmc_init_lpddr2.c

Hatim Ali hatim.rv at samsung.com
Thu Feb 23 17:27:19 CET 2012


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 <hatim.rv at samsung.com>

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



More information about the U-Boot mailing list