summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <[email protected]>2023-06-09 09:54:01 -0700
committerStefano Babic <[email protected]>2023-07-11 14:40:05 +0200
commit80fbbf4c810452bfbd140a36658aaaaca406b7a0 (patch)
treeb3ddbf3a9164f89a05448ea5de2d13ed295d5dd4
parenta59b3cd03539817dfbbeff5d47b9e4b8d6e6fe01 (diff)
board: gateworks: venice: display dram speed
Display dram speed during configuration. Signed-off-by: Tim Harvey <[email protected]>
-rw-r--r--board/gateworks/venice/spl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c
index 50056da3ee0..c81498e830d 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);
}