projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59b3cd
)
board: gateworks: venice: display dram speed
author
Tim Harvey
<tharvey@gateworks.com>
Fri, 9 Jun 2023 16:54:01 +0000
(09:54 -0700)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 11 Jul 2023 12:40:05 +0000
(14:40 +0200)
Display dram speed during configuration.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/spl.c
patch
|
blob
|
history
diff --git
a/board/gateworks/venice/spl.c
b/board/gateworks/venice/spl.c
index 50056da3ee0fd5076b72e6ae37510240bfdcef7a..c81498e830d63a3608b4b40280852609ba998dcb 100644
(file)
--- 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);
}