aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-11-15 23:45:45 +0100
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-28 11:59:35 +0530
commitfea51613222edba814d33a21d9485463cf3988f3 (patch)
treee3b0e3396beafbe622fb542c9a67cd5bf2d4f4ec
parent07d6cb93781d47a8cb94c63b6419c68923b6f09d (diff)
downloadu-boot-fea51613222edba814d33a21d9485463cf3988f3.zip
u-boot-fea51613222edba814d33a21d9485463cf3988f3.tar.gz
u-boot-fea51613222edba814d33a21d9485463cf3988f3.tar.bz2
board: sl28: fix DRAM pretty print
The current console output is: DRAM: 4 GiB DDR 4 GiB (DDR3, 32-bit, CL=11, ECC on) The size is printed twice and we can save one line of console output if we join both lines. The new output is as follows: DRAM: 4 GiB (DDR3, 32-bit, CL=11, ECC on) Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--board/kontron/sl28/sl28.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c
index e84b356..a4ee8a1 100644
--- a/board/kontron/sl28/sl28.c
+++ b/board/kontron/sl28/sl28.c
@@ -47,8 +47,6 @@ int checkboard(void)
void detail_board_ddr_info(void)
{
- puts("\nDDR ");
- print_size(gd->bd->bi_dram[0].size + gd->bd->bi_dram[1].size, "");
print_ddr_info(0);
}