From patchwork Mon Jul 25 08:14:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 106619 X-Patchwork-Delegate: afleming@freescale.com 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 BCDC7B6F6F for ; Mon, 25 Jul 2011 18:15:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 343E7280A9; Mon, 25 Jul 2011 10:15:14 +0200 (CEST) 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 ayyhKP+XtuPt; Mon, 25 Jul 2011 10:15:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 923712809E; Mon, 25 Jul 2011 10:15:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 728732809E for ; Mon, 25 Jul 2011 10:15:08 +0200 (CEST) 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 nm3fFFSt+l8P for ; Mon, 25 Jul 2011 10:15:04 +0200 (CEST) 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 mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by theia.denx.de (Postfix) with ESMTP id 913BA28099 for ; Mon, 25 Jul 2011 10:15:03 +0200 (CEST) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id C8792188B5BA; Mon, 25 Jul 2011 10:15:02 +0200 (CEST) X-Auth-Info: nlzo1so0RxzMmkyBhyOwADt73Gbr67oqdHHBndyeYtE= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 1CFE01C00078; Mon, 25 Jul 2011 10:15:03 +0200 (CEST) Received: from gemini.denx.de (unknown [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id EF13FC913109; Mon, 25 Jul 2011 10:15:02 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id E165F138EECD; Mon, 25 Jul 2011 10:15:02 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Mon, 25 Jul 2011 10:14:59 +0200 Message-Id: <1311581699-6301-1-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.6 Cc: Kumar Gala Subject: [U-Boot] [PATCH] mpc8xxx: lc_common_dimm_params: make less verbose X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 lc_common_dimm_params.c was too verbose and corrupted the boot message display like this: ... DRAM: Detected UDIMM M2U25664DS88C3G-6K DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off) ... Turn printf() into debug() so we het the expected output again: ... DRAM: 256 MiB (DDR1, 64-bit, CL=2, ECC off) ... Signed-off-by: Wolfgang Denk 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 8132e68..e66cc05 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", + debug("Detected RDIMM %s\n", dimm_params[i].mpart); } else { temp2 = 1; - printf("Detected UDIMM %s\n", + debug("Detected UDIMM %s\n", dimm_params[i].mpart); } }