summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/tlb.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-06-11 23:40:34 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-06-12 09:15:48 -0500
commitd4b130dc80761b430dc5b410159cd158fca1a348 (patch)
tree8a6f952e5df7ecd039a2ec795af9e8bb87f3aff5 /cpu/mpc85xx/tlb.c
parent6e2aebc33fa740c068fe28d40eaf0319b7c7287e (diff)
downloadu-boot-imx-d4b130dc80761b430dc5b410159cd158fca1a348.zip
u-boot-imx-d4b130dc80761b430dc5b410159cd158fca1a348.tar.gz
u-boot-imx-d4b130dc80761b430dc5b410159cd158fca1a348.tar.bz2
85xx: Use print_size to report amount of memory not mapped by TLBs
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/tlb.c')
-rw-r--r--cpu/mpc85xx/tlb.c2
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.