]> git.sur5r.net Git - u-boot/commit
powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en
authorYork Sun <yorksun@freescale.com>
Fri, 26 Aug 2011 18:32:40 +0000 (11:32 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:06 +0000 (19:01 -0500)
commitcae7c1b56b4f59289a1b2f10532c2c6a0b12c6c1
tree9cf014b86bf2a604c48a8307d64a6ccc34b83516
parentf8bc7bb5a79b392db3af9f62b63caefab8afbc31
powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en

Check second DIMM slot in case the first one is empty.
Honor DQS enable option for SDRAM mode register.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
arch/powerpc/include/asm/fsl_ddr_sdram.h