* [PATCH 1/1] board_f.c: print DRAM clock speed
@ 2021-02-22 22:17 Bobby The Builder
0 siblings, 0 replies; only message in thread
From: Bobby The Builder @ 2021-02-22 22:17 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-22 22:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 22:17 [PATCH 1/1] board_f.c: print DRAM clock speed Bobby The Builder
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.