diff options
| author | Shruti Kanetkar <Shruti@Freescale.com> | 2013-08-15 11:25:38 -0500 | 
|---|---|---|
| committer | York Sun <yorksun@freescale.com> | 2013-08-20 10:38:12 -0700 | 
| commit | 6b44d9e5b79948a73f9fae4b84c21f62224fa46b (patch) | |
| tree | 7cc38f702d5b496d993ad4f7428f7888379e9c62 /arch/powerpc/cpu/ppc4xx/cpu.c | |
| parent | 2f848f97d7b27a88135de98aae76531a6fdd44e6 (diff) | |
| download | olio-uboot-2014.01-6b44d9e5b79948a73f9fae4b84c21f62224fa46b.tar.xz olio-uboot-2014.01-6b44d9e5b79948a73f9fae4b84c21f62224fa46b.zip | |
powerpcv2: Print hardcoded size like print_size() does
Makes the startup output more consistent
Signed-off-by: Shruti Kanetkar <Shruti@Freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/cpu.c')
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/cpu.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/arch/powerpc/cpu/ppc4xx/cpu.c b/arch/powerpc/cpu/ppc4xx/cpu.c index fe050985e..78d212d56 100644 --- a/arch/powerpc/cpu/ppc4xx/cpu.c +++ b/arch/powerpc/cpu/ppc4xx/cpu.c @@ -647,12 +647,12 @@ int checkcpu (void)  #endif  #if defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) -	printf ("       16 kB I-Cache 16 kB D-Cache"); +	printf("       16 KiB I-Cache 16 KiB D-Cache");  #elif defined(CONFIG_440) -	printf ("       32 kB I-Cache 32 kB D-Cache"); +	printf("       32 KiB I-Cache 32 KiB D-Cache");  #else -	printf ("       16 kB I-Cache %d kB D-Cache", -		((pvr | 0x00000001) == PVR_405GPR_RB) ? 16 : 8); +	printf("       16 KiB I-Cache %d KiB D-Cache", +	       ((pvr | 0x00000001) == PVR_405GPR_RB) ? 16 : 8);  #endif  #endif /* !defined(CONFIG_405) */ |