From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 19 Aug 2013 16:32:37 -0700 Subject: [U-Boot] [U-Boot, v2, 2/2] powerpcv2: Print hardcoded size like print_size() does In-Reply-To: <1376583938-17083-2-git-send-email-Shruti@Freescale.com> References: <1376583938-17083-2-git-send-email-Shruti@Freescale.com> Message-ID: <5212AB15.4040606@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan, Would you ack this patch? It has a minor change to arch/powerpc/cpu/ppc4xx/cpu.c. On 08/15/2013 09:25 AM, Shruti Kanetkar wrote: > Makes the startup output more consistent > > Signed-off-by: Shruti Kanetkar > Acked-by: Andy Fleming > > --- > arch/powerpc/cpu/mpc824x/cpu.c | 2 +- > arch/powerpc/cpu/mpc85xx/cpu.c | 2 +- > arch/powerpc/cpu/mpc85xx/cpu_init.c | 14 +++++++------- > arch/powerpc/cpu/mpc86xx/cpu.c | 6 +++--- > arch/powerpc/cpu/mpc8xx/cpu.c | 6 +++--- > arch/powerpc/cpu/mpc8xx/video.c | 4 ++-- > arch/powerpc/cpu/ppc4xx/cpu.c | 8 ++++---- > 7 files changed, 21 insertions(+), 21 deletions(-) > > diff --git a/arch/powerpc/cpu/ppc4xx/cpu.c b/arch/powerpc/cpu/ppc4xx/cpu.c > index fe05098..78d212d 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) */ > Thanks. York