[PATCH] Update 440SP(e) cpu revisions
authorStefan Roese <sr@denx.de>
Sat, 13 Jan 2007 07:01:03 +0000 (08:01 +0100)
committerStefan Roese <sr@denx.de>
Sat, 13 Jan 2007 07:01:03 +0000 (08:01 +0100)
Also display enabled/disabled RAID 6 support for 440SP/440SPe PPC's.

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/cpu.c
include/asm-ppc/processor.h

index 9c5c9109b1923b30b3816200c854a0c31c07b170..53da5a3e76af445120cb7b46215d52db8eba2b67 100644 (file)
@@ -332,24 +332,44 @@ int checkcpu (void)
                strcpy(addstr, "No Security/Kasumi support");
                break;
 
-       case PVR_440SP_RA:
-               puts("SP Rev. A");
+       case PVR_440SP_6_RAB:
+               puts("SP Rev. A/B");
+               strcpy(addstr, "RAID 6 support");
                break;
 
-       case PVR_440SP_RB:
-               puts("SP Rev. B");
+       case PVR_440SP_RAB:
+               puts("SP Rev. A/B");
+               strcpy(addstr, "No RAID 6 support");
+               break;
+
+       case PVR_440SP_6_RC:
+               puts("SP Rev. C");
+               strcpy(addstr, "RAID 6 support");
                break;
 
        case PVR_440SP_RC:
                puts("SP Rev. C");
+               strcpy(addstr, "No RAID 6 support");
+               break;
+
+       case PVR_440SPe_6_RA:
+               puts("SPe Rev. A");
+               strcpy(addstr, "RAID 6 support");
                break;
 
        case PVR_440SPe_RA:
                puts("SPe Rev. A");
+               strcpy(addstr, "No RAID 6 support");
+               break;
+
+       case PVR_440SPe_6_RB:
+               puts("SPe Rev. B");
+               strcpy(addstr, "RAID 6 support");
                break;
 
        case PVR_440SPe_RB:
                puts("SPe Rev. B");
+               strcpy(addstr, "No RAID 6 support");
                break;
 
        default:
index 6619686876c522761d5bb93cf989b4e456ceb71c..f102600038bf836938eafeb47c561b3d016076ee 100644 (file)
 #define PVR_440GX_RC   0x51B21892
 #define PVR_440GX_RF   0x51B21894
 #define PVR_405EP_RB   0x51210950
-#define PVR_440SP_RA   0x53221850
-#define PVR_440SP_RB   0x53221891
-#define PVR_440SP_RC   0x53221892
-#define PVR_440SPe_RA  0x53421890
-#define PVR_440SPe_RB  0x53421891
+#define PVR_440SP_6_RAB        0x53221850 /* 440SP rev A&B with RAID 6 support enabled */
+#define PVR_440SP_RAB  0x53321850 /* 440SP rev A&B without RAID 6 support      */
+#define PVR_440SP_6_RC 0x53221891 /* 440SP rev C with RAID 6 support enabled   */
+#define PVR_440SP_RC   0x53321891 /* 440SP rev C without RAID 6 support        */
+#define PVR_440SPe_6_RA        0x53421890 /* 440SPe rev A with RAID 6 support enabled  */
+#define PVR_440SPe_RA  0x53521890 /* 440SPe rev A without RAID 6 support       */
+#define PVR_440SPe_6_RB        0x53421891 /* 440SPe rev B with RAID 6 support enabled  */
+#define PVR_440SPe_RB  0x53521891 /* 440SPe rev B without RAID 6 support       */
 #define PVR_601                0x00010000
 #define PVR_602                0x00050000
 #define PVR_603                0x00030000