diff options
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/ddr/main.c')
| -rw-r--r-- | arch/powerpc/cpu/mpc8xxx/ddr/main.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c index 9f4f25343..842bf1989 100644 --- a/arch/powerpc/cpu/mpc8xxx/ddr/main.c +++ b/arch/powerpc/cpu/mpc8xxx/ddr/main.c @@ -683,7 +683,8 @@ phys_size_t fsl_ddr_sdram(void)  #if !defined(CONFIG_PHYS_64BIT)  	/* Check for 4G or more.  Bad. */  	if (total_memory >= (1ull << 32)) { -		printf("Detected %lld MB of memory\n", total_memory >> 20); +		puts("Detected "); +		print_size(total_memory, " of memory\n");  		printf("       This U-Boot only supports < 4G of DDR\n");  		printf("       You could rebuild it with CONFIG_PHYS_64BIT\n");  		printf("       "); /* re-align to match init_func_ram print */ |