From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 2/2] powerpcv2: Print hardcoded size like print_size() does
Date: Mon, 19 Aug 2013 16:32:37 -0700 [thread overview]
Message-ID: <5212AB15.4040606@freescale.com> (raw)
In-Reply-To: <1376583938-17083-2-git-send-email-Shruti@Freescale.com>
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 <Shruti@Freescale.com>
> Acked-by: Andy Fleming <afleming@freescale.com>
>
> ---
> 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(-)
>
<snip>
> 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
next prev parent reply other threads:[~2013-08-19 23:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 16:25 [U-Boot] [PATCH v2 1/2] powerpc: Use print_size() where appropriate Shruti Kanetkar
2013-08-15 16:25 ` [U-Boot] [PATCH v2 2/2] powerpcv2: Print hardcoded size like print_size() does Shruti Kanetkar
2013-08-19 23:32 ` York Sun [this message]
2013-08-20 1:47 ` [U-Boot] [U-Boot, v2, " Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5212AB15.4040606@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.