powerpc/mpc85xx: Fix re-align of unmapped DDR memory message for non-SPL builds

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>
This commit is contained in:
Pali Rohár 2022-09-11 11:29:16 +02:00 committed by Tom Rini
parent eec715e30f
commit 6f915a5d24

View File

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