Patchwork [U-Boot,v2] powerpc/mpc8xxx: reword max tCKmin message

login
register
mail settings
Submitter York Sun
Date May 5, 2011, 11:14 p.m.
Message ID <1304637254-6304-1-git-send-email-yorksun@freescale.com>
Download mbox | patch
Permalink /patch/94327/
State Accepted
Commit d49f8e04dba056803a80388798b735814b893bbf
Delegated to: Kumar Gala
Headers show

Comments

York Sun - May 5, 2011, 11:14 p.m.
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>
---
 .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c        |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Kumar Gala - May 11, 2011, 10:39 a.m.
On May 5, 2011, at 6:14 PM, York Sun wrote:

> 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>
> ---
> .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c        |    6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)

applied to 85xx

- k

Patch

diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c b/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c
index 00f3d6c..8132e68 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c
@@ -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 */