
SMDK5250 boards are available with different DDR memory variants like LPDDR2, LPDDR3 and DDR3. This patch series adds support for DDR3 memory @ 667Mhz for SMDK5250 board.
In this patchset: * Renamed dmc_init.c file to dmc_init_lpddr2.c * Moved functions common to LPDDR2 and DDR3 memory setup from dmc_init_lpddr2.c to dmc_common.c * Replaced register hex values with macro values for clarity.
Hatim Ali (4): SMDK5250: LPDDR2: Renaming the dmc_init.c file to dmc_init_lpddr2.c SMDK5250: LPDDR2: Renaming the PHY_RESET_VAL macro and fixing a minor typo. SMDK5250: Creating a common file to be used by all variants of DDR SMDK5250: DDR3: Add memory initialization code for DDR3.
board/samsung/smdk5250/Makefile | 9 +- board/samsung/smdk5250/dmc_common.c | 133 ++++++++++ board/samsung/smdk5250/dmc_init_ddr3.c | 276 ++++++++++++++++++++ .../smdk5250/{dmc_init.c => dmc_init_lpddr2.c} | 166 +----------- board/samsung/smdk5250/setup.h | 199 +++++++++++++-- include/configs/smdk5250.h | 6 + 6 files changed, 607 insertions(+), 182 deletions(-) create mode 100644 board/samsung/smdk5250/dmc_common.c create mode 100644 board/samsung/smdk5250/dmc_init_ddr3.c rename board/samsung/smdk5250/{dmc_init.c => dmc_init_lpddr2.c} (66%)