mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
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>
This commit is contained in:
parent
07d6cb9378
commit
fea5161322
@ -47,8 +47,6 @@ int checkboard(void)
|
|||||||
|
|
||||||
void detail_board_ddr_info(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);
|
print_ddr_info(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user