powerpc/mpc8xxx: reword max tCKmin message
authorYork Sun <yorksun@freescale.com>
Thu, 5 May 2011 23:14:14 +0000 (07:14 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 13 May 2011 05:36:11 +0000 (00:36 -0500)
Reword "The DIMM max tCKmin is ..." to "The DDR clock is faster than the slowest
DIMM(s) can support". Fixed interger type in printf as well.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c

index 00f3d6c600a322206372a33908ccc67d5ed30ce4..8132e68d9d67c395743756fbf22b7c95c6ab26bd 100644 (file)
@@ -38,9 +38,9 @@ compute_cas_latency_ddr3(const dimm_params_t *dimm_params,
        }
        /* validate if the memory clk is in the range of dimms */
        if (mclk_ps < tCKmin_X_ps) {
-               printf("The DIMM max tCKmin is %d ps,"
-                       "doesn't support the MCLK cycle %d ps\n",
-                       tCKmin_X_ps, mclk_ps);
+               printf("DDR clock (MCLK cycle %u ps) is faster than "
+                       "the slowest DIMM(s) (tCKmin %u ps) can support.\n",
+                       mclk_ps, tCKmin_X_ps);
                return 1;
        }
        /* determine the acutal cas latency */