
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.
Changes in v2: * Replaced some hex values with macro definitions for readability in dmc_init_ddr3.c file. * Moved the clock initialization code from dmc_init_ddr3.c to clock_init.c * Made a separate patch for selecting DDR3 memory by default.
Changes in v1: 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 (5): 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. SMDK5250: Selecting DDR3 memory by default.
board/samsung/smdk5250/Makefile | 9 +- board/samsung/smdk5250/clock_init.c | 15 + board/samsung/smdk5250/dmc_common.c | 133 +++++++++ board/samsung/smdk5250/dmc_init_ddr3.c | 297 ++++++++++++++++++++ .../smdk5250/{dmc_init.c => dmc_init_lpddr2.c} | 166 +----------- board/samsung/smdk5250/setup.h | 227 +++++++++++++-- include/configs/smdk5250.h | 6 + 7 files changed, 662 insertions(+), 191 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%)