]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Changed PPC405GPr version from A to B.
authorstroese <stroese>
Fri, 4 Apr 2003 16:00:33 +0000 (16:00 +0000)
committerstroese <stroese>
Fri, 4 Apr 2003 16:00:33 +0000 (16:00 +0000)
cpu/ppc4xx/cpu.c
cpu/ppc4xx/cpu_init.c
cpu/ppc4xx/speed.c
include/asm-ppc/processor.h

index 8aaffb1c19f98fd36291eab6d0985b1b7a3618af..8532d2873ca615896303d6a3b5c27e9a12cb94d7 100644 (file)
@@ -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");
index 9bf180fcdc93a8940a6f6f00e706473fc1874eb5..1d149bc6089809f8bc81542c41fd9d7eaa90ae9c 100644 (file)
@@ -149,7 +149,7 @@ int cpu_init_r (void)
         * Set edge conditioning circuitry on PPC405GPr
         * for compatibility to existing PPC405GP designs.
         */
-       if ((pvr & 0xfffffff0) == (PVR_405GPR_RA & 0xfffffff0)) {
+       if ((pvr & 0xfffffff0) == (PVR_405GPR_RB & 0xfffffff0)) {
                mtdcr(ecr, 0x60606000);
        }
 
index 45415292c35f8f1e3e1011d945dee645c5189d59..f075e3a0473086b7bc8dabf2de9baca23ea4157a 100644 (file)
@@ -87,7 +87,7 @@ void get_sys_info (PPC405_SYS_INFO * sysInfo)
        /*
         * Check if PPC405GPr used (mask minor revision field)
         */
-       if ((pvr & 0xfffffff0) == (PVR_405GPR_RA & 0xfffffff0)) {
+       if ((pvr & 0xfffffff0) == (PVR_405GPR_RB & 0xfffffff0)) {
                /*
                 * Determine FWD_DIV B (only PPC405GPr with new mode strapping).
                 */
index 6639959d9211c528254c79577198683fc65e8bfe..dc04a8fd497fafa505302a63356341c40acc7ca7 100644 (file)
 #define        PVR_405CR_RA    0x40110041
 #define        PVR_405CR_RB    0x401100C5
 #define        PVR_405CR_RC    0x40110145  /* same as pc405gp rev e */
-#define        PVR_405GPR_RA   0x50910951
+#define        PVR_405GPR_RB   0x50910951
 #define        PVR_440GP_RB    0x40120440
 #define        PVR_440GP_RC    0x40120481
 #define        PVR_601         0x00010000