From patchwork Fri Dec 16 02:14:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Moffett X-Patchwork-Id: 131770 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id A19291007D6 for ; Fri, 16 Dec 2011 13:15:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0079D2809E; Fri, 16 Dec 2011 03:15:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vVbIk9zKETkz; Fri, 16 Dec 2011 03:15:40 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5A15B280A2; Fri, 16 Dec 2011 03:15:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6604A280A2 for ; Fri, 16 Dec 2011 03:15:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XcHKfiFwl2l8 for ; Fri, 16 Dec 2011 03:15:35 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from border.exmeritus.com (border.exmeritus.com [70.167.241.26]) by theia.denx.de (Postfix) with ESMTP id ACC2E2809E for ; Fri, 16 Dec 2011 03:15:34 +0100 (CET) Received: from ysera.exmeritus.com (firewall2.exmeritus.com [10.13.38.2]) by border.exmeritus.com (Postfix) with ESMTP id 4487EAC06A; Thu, 15 Dec 2011 21:15:33 -0500 (EST) From: Kyle Moffett To: u-boot@lists.denx.de Date: Thu, 15 Dec 2011 21:14:49 -0500 Message-Id: <1324001689-15226-1-git-send-email-Kyle.D.Moffett@boeing.com> X-Mailer: git-send-email 1.7.7.3 Cc: Kumar Gala , Andy Fleming , Kim Phillips Subject: [U-Boot] [PATCH] mpc8xxx: Fix "DRAM" message formatting X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de When the "Detected RDIMM [...]" message was added, it broke the pretty-printing of the DRAM information during boot. It used to look like this: DRAM: 2 GiB (DDR2, 64-bit, CL=4, ECC on) DDR Chip-Select Interleaving Mode: CS0+CS1 Right now, it looks like this: DRAM: Detected RDIMM VL493T5663D-E6M 2 GiB (DDR2, 64-bit, CL=4, ECC on) DDR Chip-Select Interleaving Mode: CS0+CS1 After this patch, it is: DRAM: Detected RDIMM VL493T5663D-E6M 2 GiB (DDR2, 64-bit, CL=4, ECC on) DDR Chip-Select Interleaving Mode: CS0+CS1 Signed-off-by: Kyle Moffett Cc: Wolfgang Denk Cc: Kim Phillips Cc: Andy Fleming Cc: Kumar Gala --- .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 20c7db0..3f9104c 100644 --- a/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c +++ b/arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c @@ -209,11 +209,11 @@ compute_lowest_common_dimm_parameters(const dimm_params_t *dimm_params, if (dimm_params[i].n_ranks) { if (dimm_params[i].registered_dimm) { temp1 = 1; - printf("Detected RDIMM %s\n", + printf("Detected RDIMM %s\n ", dimm_params[i].mpart); } else { temp2 = 1; - printf("Detected UDIMM %s\n", + printf("Detected UDIMM %s\n ", dimm_params[i].mpart); } }