aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár2022-09-09 17:32:45 +0200
committerTom Rini2022-09-23 15:13:18 -0400
commita86e294f9f072dd08410ef83af44258503dca1a1 (patch)
tree6e88dacd0918e07cfa83f0a8fec38037f53e4ab3
parent272199765412182f82ff789eaeffb2d93d70a01e (diff)
ddr: fsl: Fix re-align of verbose DRAM information for non-SPL builds
During init_dram() is called also compute_lowest_common_dimm_parameters() function which prints multi-line detailed output. So print also re-aligning filler after "Detected ?DIMM" line to have "DRAM: " output aligned. Signed-off-by: Pali Rohár <pali@kernel.org>
-rw-r--r--drivers/ddr/fsl/lc_common_dimm_params.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/lc_common_dimm_params.c b/drivers/ddr/fsl/lc_common_dimm_params.c
index d738ae3a7c6..5e4ad56f071 100644
--- a/drivers/ddr/fsl/lc_common_dimm_params.c
+++ b/drivers/ddr/fsl/lc_common_dimm_params.c
@@ -422,6 +422,9 @@ compute_lowest_common_dimm_parameters(const unsigned int ctrl_num,
dimm_params[i].mpart);
#endif
}
+#ifndef CONFIG_SPL_BUILD
+ puts(" ");
+#endif
}
}