فهرست منبع

[PATCH] PPC4xx: 440SP Rev. C detection added

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 18 سال پیش
والد
کامیت
e732faec95
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 4 0
      cpu/ppc4xx/cpu.c
  2. 1 0
      include/asm-ppc/processor.h

+ 4 - 0
cpu/ppc4xx/cpu.c

@@ -340,6 +340,10 @@ int checkcpu (void)
 		puts("SP Rev. B");
 		puts("SP Rev. B");
 		break;
 		break;
 
 
+	case PVR_440SP_RC:
+		puts("SP Rev. C");
+		break;
+
 	case PVR_440SPe_RA:
 	case PVR_440SPe_RA:
 		puts("SPe Rev. A");
 		puts("SPe Rev. A");
 		break;
 		break;

+ 1 - 0
include/asm-ppc/processor.h

@@ -749,6 +749,7 @@
 #define PVR_405EP_RB	0x51210950
 #define PVR_405EP_RB	0x51210950
 #define PVR_440SP_RA	0x53221850
 #define PVR_440SP_RA	0x53221850
 #define PVR_440SP_RB	0x53221891
 #define PVR_440SP_RB	0x53221891
+#define PVR_440SP_RC	0x53221892
 #define PVR_440SPe_RA	0x53421890
 #define PVR_440SPe_RA	0x53421890
 #define PVR_440SPe_RB	0x53421891
 #define PVR_440SPe_RB	0x53421891
 #define PVR_601		0x00010000
 #define PVR_601		0x00010000