mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
board: verdin-imx8mp: change prints in spl_dram_init function
change prints to show which DDR configuration (single/dual rank) is used Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
This commit is contained in:
parent
0e897621b4
commit
c03eaf23bb
1 changed files with 10 additions and 4 deletions
|
@ -35,11 +35,17 @@ void spl_dram_init(void)
|
|||
/*
|
||||
* Try configuring for dual rank memory falling back to single rank
|
||||
*/
|
||||
if (ddr_init(&dram_timing)) {
|
||||
printf("Dual rank failed, attempting single rank configuration.\n");
|
||||
lpddr4_single_rank_training_patch();
|
||||
ddr_init(&dram_timing);
|
||||
if (!ddr_init(&dram_timing)) {
|
||||
puts("DDR configured as dual rank\n");
|
||||
return;
|
||||
}
|
||||
|
||||
lpddr4_single_rank_training_patch();
|
||||
if (!ddr_init(&dram_timing)) {
|
||||
puts("DDR configured as single rank\n");
|
||||
return;
|
||||
}
|
||||
puts("DDR configuration failed\n");
|
||||
}
|
||||
|
||||
void spl_board_init(void)
|
||||
|
|
Loading…
Reference in a new issue