mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
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>
This commit is contained in:
parent
4c99cb9190
commit
79fa00af5d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user