[PATCH 8/9] ddr: fsl: Fix re-align of verbose DRAM information for non-SPL builds
Pali Rohár
pali at kernel.org
Fri Sep 9 17:32:45 CEST 2022
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 at kernel.org>
---
drivers/ddr/fsl/lc_common_dimm_params.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ddr/fsl/lc_common_dimm_params.c b/drivers/ddr/fsl/lc_common_dimm_params.c
index d738ae3a7c66..5e4ad56f0714 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
}
}
--
2.20.1
More information about the U-Boot
mailing list