From: Simon Glass Date: Sat, 5 Nov 2011 03:56:56 +0000 (+0000) Subject: tegra2: Remove unneeded 'dynamic ram size' message X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e81cdc03505737914dfcf99b9f47292e7174c7bf;p=u-boot.git tegra2: Remove unneeded 'dynamic ram size' message This message is not required, since it is followed by an 'official' U-Boot message. U-Boot 2011.03-00048-gd7cb0d3 (May 11 2011 - 17:17:23) TEGRA2 Board: NVIDIA Seaboard dynamic ram_size = 1073741824 DRAM: 1 GiB becomes: TEGRA2 Board: NVIDIA Seaboard DRAM: 1 GiB This is a separate commit since it changes behavior. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c index e6fe4fd4bc..fbf189a695 100644 --- a/arch/arm/cpu/armv7/tegra2/board.c +++ b/arch/arm/cpu/armv7/tegra2/board.c @@ -65,10 +65,8 @@ int dram_init(void) /* Now check it dynamically */ rs = get_ram_size(CONFIG_SYS_SDRAM_BASE, gd->ram_size); - if (rs) { - printf("dynamic ram_size = %lu\n", rs); + if (rs) gd->bd->bi_dram[0].size = gd->ram_size = rs; - } return 0; }