From: Michael Walle Date: Mon, 15 Nov 2021 22:45:45 +0000 (+0100) Subject: board: sl28: fix DRAM pretty print X-Git-Tag: v2025.01-rc5-pxa1908~1517^2~9 X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-favicon.png?a=commitdiff_plain;h=fea51613222edba814d33a21d9485463cf3988f3;p=u-boot.git 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 Reviewed-by: Priyanka Jain --- diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c index e84b356918..a4ee8a1ef3 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); }