diff mbox series

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

Message ID 26b0d21c-5e42-2fad-78a2-7f25a8bae84b@najdan.com
State New
Delegated to: Tom Rini
Headers show
Series [1/1] board_f.c: print DRAM clock speed | expand

Commit Message

Bobby The Builder Feb. 22, 2021, 10:17 p.m. UTC
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 mbox series

Patch

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;
  }