summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/cpu.c
diff options
context:
space:
mode:
authorstroese <stroese>2003-04-04 16:00:33 +0000
committerstroese <stroese>2003-04-04 16:00:33 +0000
commitbaa3d528fe8f03c89bd9006819797db675632703 (patch)
treeba95ea2851dae5995d9a2c5f6241112eb699173d /cpu/ppc4xx/cpu.c
parentc1551ea817c0a094b3e5c9573e5dcf4ca8204de6 (diff)
Changed PPC405GPr version from A to B.
Diffstat (limited to 'cpu/ppc4xx/cpu.c')
-rw-r--r--cpu/ppc4xx/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 8aaffb1c19..8532d2873c 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -67,7 +67,7 @@ int checkcpu (void)
#if CONFIG_405GP
puts("IBM PowerPC 405GP");
- if (pvr == PVR_405GPR_RA) {
+ if (pvr == PVR_405GPR_RB) {
putc('r');
}
puts(" Rev. ");
@@ -77,6 +77,7 @@ int checkcpu (void)
#endif
switch (pvr) {
case PVR_405GP_RB:
+ case PVR_405GPR_RB:
putc('B');
break;
case PVR_405GP_RC:
@@ -94,7 +95,6 @@ int checkcpu (void)
break;
#endif
case PVR_405CR_RA:
- case PVR_405GPR_RA:
putc('A');
break;
case PVR_405CR_RB:
@@ -122,7 +122,7 @@ int checkcpu (void)
printf("external PCI arbiter enabled\n");
#endif
- if ((pvr | 0x00000001) == PVR_405GPR_RA) {
+ if ((pvr | 0x00000001) == PVR_405GPR_RB) {
printf(" 16 kB I-Cache 16 kB D-Cache");
} else {
printf(" 16 kB I-Cache 8 kB D-Cache");