summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2023-06-09 19:54:01 +0300
committerStefano Babic <sbabic@denx.de>2023-07-11 15:40:05 +0300
commit80fbbf4c810452bfbd140a36658aaaaca406b7a0 (patch)
treeb3ddbf3a9164f89a05448ea5de2d13ed295d5dd4
parenta59b3cd03539817dfbbeff5d47b9e4b8d6e6fe01 (diff)
downloadu-boot-80fbbf4c810452bfbd140a36658aaaaca406b7a0.tar.xz
board: gateworks: venice: display dram speed
Display dram speed during configuration. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-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 50056da3ee..c81498e830 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);
}