board: sl28: fix DRAM pretty print
authorMichael Walle <michael@walle.cc>
Mon, 15 Nov 2021 22:45:45 +0000 (23:45 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 28 Feb 2022 06:29:35 +0000 (11:59 +0530)
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>
board/kontron/sl28/sl28.c

index e84b356..a4ee8a1 100644 (file)
@@ -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);
 }