]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/mpc85xx: Fix re-align of unmapped DDR memory message for non-SPL builds
authorPali Rohár <pali@kernel.org>
Sun, 11 Sep 2022 09:29:16 +0000 (11:29 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:13:18 +0000 (15:13 -0400)
During init_dram() is called also setup_ddr_tlbs_phys() function which may
print message about unmapped DDR memory. So in this case print also
re-aligning filler after unmapped DDR memory message.

Signed-off-by: Pali Rohár <pali@kernel.org>
arch/powerpc/cpu/mpc85xx/tlb.c

index 4e4ecb4d7f7508a6092a68af8eacf95749eacd0a..e39fe14382d67750f3bc9c58465e73fbbefc81bd 100644 (file)
@@ -313,6 +313,9 @@ unsigned int setup_ddr_tlbs_phys(phys_addr_t p_addr,
                print_size(memsize > CONFIG_MAX_MEM_MAPPED ?
                           memsize - CONFIG_MAX_MEM_MAPPED + size : size,
                           " of DDR memory left unmapped in U-Boot\n");
+#ifndef CONFIG_SPL_BUILD
+               puts("       ");
+#endif
        }
 
        return memsize_in_meg;