Allow overriding RCW for all RDIMM, not only quad-rank ones.

Signed-off-by: York Sun <york...@freescale.com>
---
 board/freescale/corenet_ds/ddr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/freescale/corenet_ds/ddr.c b/board/freescale/corenet_ds/ddr.c
index 98024c7..f2b716d 100644
--- a/board/freescale/corenet_ds/ddr.c
+++ b/board/freescale/corenet_ds/ddr.c
@@ -219,7 +219,7 @@ void fsl_ddr_board_options(memctl_options_t *popts,
        popts->ddr_cdr1 = DDR_CDR1_DHC_EN;
 
        /* override SPD values. rcw_2 should vary at differnt speed */
-       if (pdimm[0].n_ranks == 4) {
+       if (pdimm[0].registered_dimm == 1) {
                popts->rcw_override = 1;
                popts->rcw_1 = 0x000a5a00;
                if (ddr_freq <= 800)
-- 
1.7.0.4


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to