Skip to contentSkip to conversation

powerpc/mpc8xxx: reword max tCKmin message

PATCH New York Sun 2 participants 2 messages May 5, 2011 – May 11, 2011 PowerPC

lore
Share & tools
lore

York Sun

author
#0 lore raw

PATCH v2 1/1 powerpc/mpc8xxx: reword max tCKmin message

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.

---
 .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c        |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c +3 -3
index 00f3d6c..8132e68 100644
@@ -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 */
Signature · 1 line
1.7.0.4
Applied
#1 lore raw

PATCH v2 1/1 powerpc/mpc8xxx: reword max tCKmin message

Quoted 7 lines · York Sun

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.

---
.../cpu/mpc8xxx/ddr/lc_common_dimm_params.c | 6 +++---

1 files changed, 3 insertions(+), 3 deletions(-)

applied to 85xx

- k