Commit f2d264b6 authored by York Sun's avatar York Sun Committed by Kumar Gala
Browse files

powerpc/mpc8xxx: Adding fallback to raw timing on supported boards

In case of empty SPD or checksum error, fallback to raw timing on
supported boards.
Signed-off-by: default avatarYork Sun <>
Signed-off-by: default avatarKumar Gala <>
parent 1b3e3c4f
......@@ -343,12 +343,20 @@ fsl_ddr_compute(fsl_ddr_info_t *pinfo, unsigned int start_step,
retval = compute_dimm_parameters(spd, pdimm, i);
if (retval != 0) {
printf("SPD error! Trying fallback to "
"raw timing calculation\n");
fsl_ddr_get_dimm_params(pdimm, i, j);
if (retval == 2) {
printf("Error: compute_dimm_parameters"
" non-zero returned FATAL value "
"for memctl=%u dimm=%u\n", i, j);
return 0;
if (retval) {
debug("Warning: compute_dimm_parameters"
" non-zero return value for memctl=%u "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment