Skip to contentSkip to conversation

board: gateworks: venice: display dram speed

PATCH New Tim Harvey 2 participants 2 messages Jun 9, 2023 – Jul 11, 2023

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 board: gateworks: venice: display dram speed

Display dram speed during configuration.

---
 board/gateworks/venice/spl.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
board/gateworks/venice/spl.c +5 -2
index 50056da3ee0f..c81498e830d6 100644
@@ -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);
 }
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 board: gateworks: venice: display dram speed

Quoted 2 lines

Display dram speed during configuration.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================