diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-04-21 13:11:02 -0300 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-20 16:09:09 -0500 |
commit | 6770c5e2e8036fbae236809d293d15a7af3e4b14 (patch) | |
tree | 59aa14a7ace41db76c2f2b8ccfa9ef4ac734224d /arch/powerpc/cpu/mpc86xx/cpu.c | |
parent | 061ffedaafb0a010e19ea386e3f428a4b6419c30 (diff) | |
download | u-boot-imx-6770c5e2e8036fbae236809d293d15a7af3e4b14.zip u-boot-imx-6770c5e2e8036fbae236809d293d15a7af3e4b14.tar.gz u-boot-imx-6770c5e2e8036fbae236809d293d15a7af3e4b14.tar.bz2 |
powerpc: Use lower case for the core names
Freescale documentation presents the PowerPC core names in lower case, such as
"e300", "e500", "e600", etc.
Change the upper case occurrences into lower case so that the core names
reported in U-boot can match the ones from the documentation.
While at it also fix a checkpatch error:
ERROR: space prohibited before that close parenthesis ')'
#53: FILE: arch/powerpc/cpu/mpc86xx/cpu.c:81:
+ printf("e600 Core %d", (msscr0 & 0x20) ? 1 : 0 );
Reported-by: Heinz Wrobel <heinz.wrobel@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc86xx/cpu.c')
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc86xx/cpu.c b/arch/powerpc/cpu/mpc86xx/cpu.c index c553415..5ed3eb2 100644 --- a/arch/powerpc/cpu/mpc86xx/cpu.c +++ b/arch/powerpc/cpu/mpc86xx/cpu.c @@ -78,7 +78,7 @@ checkcpu(void) major = PVR_E600_MAJ(pvr); minor = PVR_E600_MIN(pvr); - printf("E600 Core %d", (msscr0 & 0x20) ? 1 : 0 ); + printf("e600 Core %d", (msscr0 & 0x20) ? 1 : 0); if (gur->pordevsr & MPC86xx_PORDEVSR_CORE1TE) puts("\n Core1Translation Enabled"); debug(" (MSSCR0=%x, PORDEVSR=%x)", msscr0, gur->pordevsr); |