From: Becky Bruce Date: Mon, 13 Dec 2010 15:06:52 -0600 Subject: [U-Boot] [PATCH V2 12/12] MPC8xxx DDR: align informational prints 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> Message-ID: <1292274412-11340-13-git-send-email-beckyb@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@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 -- 1.5.6.5