diff mbox series

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

Message ID 20220911092916.9299-1-pali@kernel.org
State Accepted
Commit 6f915a5d24b1c8cf30a29d7edff01eb5951bef0b
Delegated to: Tom Rini
Headers show
Series Support for 4 GB DDR modules for 32-bit U-Boot builds | expand

Commit Message

Pali Rohár Sept. 11, 2022, 9:29 a.m. UTC
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 | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/powerpc/cpu/mpc85xx/tlb.c b/arch/powerpc/cpu/mpc85xx/tlb.c
index 6107a91ecd3c..723ee1d599fd 100644
--- a/arch/powerpc/cpu/mpc85xx/tlb.c
+++ b/arch/powerpc/cpu/mpc85xx/tlb.c
@@ -312,6 +312,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;