"DDR Initialization" section in "Target Initialization File" in CodeWarrior IDE is only used for NXP demo board, you need to modify "DDR Initialization" section according to your custom board.
You could use QCVS DDRv tool to assist you to calculate the initial DDR controller configuration parameters, then connect to the the target board to do validation and optimization.