powerpc/mpc8572ds: Enable bank interleaving to cs0+cs1 for dual-rank DIMMs
authorHongtao Jia <B38951@freescale.com>
Thu, 20 Dec 2012 19:36:12 +0000 (19:36 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 30 Jan 2013 17:25:09 +0000 (11:25 -0600)
The controller interleaving only takes the usable memory mapped to cs0. In
the case of bank interleaving not enabled, only half of dual-rank DIMM will
be used.

For single-rank DIMM bank interleaving will be auto disabled.

Signed-off-by: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
include/configs/MPC8572DS.h

index a62b7d53a950aba11f9e0d7b0dee1c8678d01eed..d233365b7d0e5dc9cff1162b11474e84c52b759b 100644 (file)
 #define CONFIG_BAUDRATE        115200
 
 #define        CONFIG_EXTRA_ENV_SETTINGS                               \
-"hwconfig=fsl_ddr:ctlr_intlv=bank,ecc=off\0"                   \
+"hwconfig=fsl_ddr:ctlr_intlv=bank,bank_intlv=cs0_cs1,ecc=off\0"                \
 "netdev=eth0\0"                                                \
 "uboot=" __stringify(CONFIG_UBOOTPATH) "\0"                            \
 "tftpflash=tftpboot $loadaddr $uboot; "                        \