diff mbox series

[04/10] board: sl28: fix DRAM pretty print

Message ID 20211115224551.3549744-5-michael@walle.cc
State Accepted
Commit fea51613222edba814d33a21d9485463cf3988f3
Delegated to: Priyanka Jain
Headers show
Series board: sl28: add sl28cpld support and board cleanups | expand

Commit Message

Michael Walle Nov. 15, 2021, 10:45 p.m. UTC
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>
---
 board/kontron/sl28/sl28.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c
index c8ed7ac81a..4701eaad8d 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);
 }