[PATCH 1/1] board_f.c: print DRAM clock speed

22 Feb
2021
22 Feb
'21
11:17 p.m.
Output the DRAM clock speed
Signed-off-by: Bobby The Builder bob@najdan.com
--- common/board_f.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c index 9f441c44f1..e52d0439cc 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -226,11 +226,12 @@ static int show_dram_config(void) print_size(gd->bd->bi_dram[i].size, "\n"); #endif } - debug("\nDRAM: "); + debug("\nDRAM Size: ");
print_size(size, ""); board_add_ram_info(0); putc('\n'); + printf("DRAM Clock: %d MHz\n", CONFIG_DRAM_CLK);
return 0; }
--
2.29.2
1538
Age (days ago)
1538
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bobby The Builder