Skip to content
Snippets Groups Projects
Commit 79fa00af authored by York Sun's avatar York Sun Committed by Kumar Gala
Browse files

powerpc/corenet_ds: Fix RCW overriding for RDIMM


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

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 4c99cb91
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment