diff mbox series

board: gateworks: venice: display dram speed

Message ID 20230609165401.3347411-1-tharvey@gateworks.com
State Accepted
Commit 80fbbf4c810452bfbd140a36658aaaaca406b7a0
Delegated to: Stefano Babic
Headers show
Series board: gateworks: venice: display dram speed | expand

Commit Message

Tim Harvey June 9, 2023, 4:54 p.m. UTC
Display dram speed during configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 board/gateworks/venice/spl.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Stefano Babic July 11, 2023, 7:44 p.m. UTC | #1
> Display dram speed during configuration.
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c
index 50056da3ee0f..c81498e830d6 100644
--- a/board/gateworks/venice/spl.c
+++ b/board/gateworks/venice/spl.c
@@ -83,9 +83,12 @@  static void spl_dram_init(int size)
 
 	printf("DRAM    : LPDDR4 ");
 	if (size > 512)
-		printf("%d GiB\n", size / 1024);
+		printf("%d GiB", size / 1024);
 	else
-		printf("%d MiB\n", size);
+		printf("%d MiB", size);
+	printf(" %dMT/s %dMHz\n",
+	       dram_timing->fsp_msg[0].drate,
+	       dram_timing->fsp_msg[0].drate / 2);
 	ddr_init(dram_timing);
 }