powerpc/mpc85xx: Display a warning for unsupported DDR data rates
If DDR initialziation uses a speed table and the speed is not matched, print a warning message instead of silently ignoring. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
@@ -125,10 +125,16 @@ void fsl_ddr_board_options(memctl_options_t *popts,
|
||||
popts->clk_adjust = pbsp->clk_adjust;
|
||||
popts->cpo_override = pbsp->cpo;
|
||||
popts->twoT_en = 0;
|
||||
break;
|
||||
}
|
||||
pbsp++;
|
||||
}
|
||||
|
||||
if (i == num_params) {
|
||||
printf("Warning: board specific timing not found "
|
||||
"for data rate %lu MT/s!\n", ddr_freq);
|
||||
}
|
||||
|
||||
/*
|
||||
* Factors to consider for half-strength driver enable:
|
||||
* - number of DIMMs installed
|
||||
|
||||
Reference in New Issue
Block a user