[U-Boot] [PATCH 1/2] 85xx: Use print_size to report amount of memory not mapped by TLBs

Kumar Gala galak at kernel.crashing.org
Fri Jun 12 07:23:07 CEST 2009


Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
 cpu/mpc85xx/tlb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpu/mpc85xx/tlb.c b/cpu/mpc85xx/tlb.c
index 8304ffe..46925f1 100644
--- a/cpu/mpc85xx/tlb.c
+++ b/cpu/mpc85xx/tlb.c
@@ -165,7 +165,7 @@ unsigned int setup_ddr_tlbs(unsigned int memsize_in_meg)
 	}
 
 	if (memsize)
-		printf("%lldM left unmapped\n", memsize >> 20);
+		print_size(memsize, " left unmapped\n");
 
 	/*
 	 * Confirm that the requested amount of memory was mapped.
-- 
1.6.0.6



More information about the U-Boot mailing list