diff options
author | York Sun <yorksun@freescale.com> | 2011-06-27 13:39:15 -0700 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-11 13:24:20 -0500 |
commit | 79fa00af5d0317903c7765f5b502bf39e38e64cd (patch) | |
tree | 1660edc5c8c331026afb10f39f8fb60aae160ed8 /board/freescale | |
parent | 4c99cb9190358e11ad96ba95b38d1e83cc053b46 (diff) | |
download | talos-obmc-uboot-79fa00af5d0317903c7765f5b502bf39e38e64cd.tar.gz talos-obmc-uboot-79fa00af5d0317903c7765f5b502bf39e38e64cd.zip |
powerpc/corenet_ds: Fix RCW overriding for RDIMM
Allow overriding RCW for all RDIMM, not only quad-rank ones.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | 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 98024c72d7..f2b716d4ae 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) |