]> git.sur5r.net Git - u-boot/commitdiff
85xx: Use print_size to report amount of memory not mapped by TLBs
authorKumar Gala <galak@kernel.crashing.org>
Fri, 12 Jun 2009 04:40:34 +0000 (23:40 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 12 Jun 2009 14:15:48 +0000 (09:15 -0500)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
cpu/mpc85xx/tlb.c

index 8304ffe2f46fe85d6829dc685bfaf4d68e759a65..46925f1380c0cde1c8956f68c7d61bc183f2d599 100644 (file)
@@ -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.