]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ddr: fsl: Fix re-align of verbose DRAM information for non-SPL builds
authorPali Rohár <pali@kernel.org>
Fri, 9 Sep 2022 15:32:45 +0000 (17:32 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:13:18 +0000 (15:13 -0400)
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>
drivers/ddr/fsl/lc_common_dimm_params.c

index d738ae3a7c6612c5a019315a76f6811d65c5ab6b..5e4ad56f0714eb4d87e7e943a3dfb31b5b3b2611 100644 (file)
@@ -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
                }
        }