From patchwork Mon Dec 13 21:06:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Becky Bruce X-Patchwork-Id: 75418 X-Patchwork-Delegate: galak@kernel.crashing.org 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 C71B8B7082 for ; Tue, 14 Dec 2010 08:10:11 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A5EF7280DD; Mon, 13 Dec 2010 22:08:33 +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 nsPgjry2v0yX; Mon, 13 Dec 2010 22:08:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 25C7F280DF; Mon, 13 Dec 2010 22:07:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1373F28084 for ; Mon, 13 Dec 2010 22:07:47 +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 r2ZmT3TQCOZ4 for ; Mon, 13 Dec 2010 22:07:46 +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 gate.crashing.org (gate.crashing.org [63.228.1.57]) by theia.denx.de (Postfix) with ESMTPS id 2CB1F2809E for ; Mon, 13 Dec 2010 22:07:26 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id oBDL7CcR022800; Mon, 13 Dec 2010 15:07:12 -0600 From: Becky Bruce To: u-boot@lists.denx.de, robertlazarski@gmail.com, galak@kernel.crashing.org, sr@denx.de, dan@embeddedalley.com, wd@denx.de, ptyser@xes-inc.com Date: Mon, 13 Dec 2010 15:06:52 -0600 Message-Id: <1292274412-11340-13-git-send-email-beckyb@kernel.crashing.org> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1292274412-11340-12-git-send-email-beckyb@kernel.crashing.org> References: <1292274412-11340-1-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-2-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-3-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-4-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-5-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-6-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-7-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-8-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-9-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-10-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-11-git-send-email-beckyb@kernel.crashing.org> <1292274412-11340-12-git-send-email-beckyb@kernel.crashing.org> Subject: [U-Boot] [PATCH V2 12/12] MPC8xxx DDR: align informational prints 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 Add spaces to cause the informational prints to line up with the ones from init_func_ram() in board.c. Output now looks like this: .... DRAM: Detected 4096 MB of memory This U-Boot only supports < 4G of DDR You could rebuild it with CONFIG_PHYS_64BIT 2 GiB (DDR2, 64-bit, CL=5, ECC off) .... Signed-off-by: Becky Bruce --- arch/powerpc/cpu/mpc8xxx/ddr/main.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c index 6d582e9..e3888ff 100644 --- a/arch/powerpc/cpu/mpc8xxx/ddr/main.c +++ b/arch/powerpc/cpu/mpc8xxx/ddr/main.c @@ -469,8 +469,9 @@ phys_size_t fsl_ddr_sdram(void) /* Check for 4G or more. Bad. */ if (total_memory >= (1ull << 32)) { printf("Detected %lld MB of memory\n", total_memory >> 20); - printf("This U-Boot only supports < 4G of DDR\n"); - printf("You could rebuild it with CONFIG_PHYS_64BIT\n"); + printf(" This U-Boot only supports < 4G of DDR\n"); + printf(" You could rebuild it with CONFIG_PHYS_64BIT\n"); + printf(" "); /* re-align to match init_func_ram print */ total_memory = CONFIG_MAX_MEM_MAPPED; } #endif