Skip to contentSkip to conversation

Add PVRs for AMCC 440EP Rev C and 440GR Rev B

PATCH New John Otken 1 participant 1 message May 8, 2006

lore
Share & tools
lore

John Otken

author
#0 lore raw

PATCH 1/1 Add PVRs for AMCC 440EP Rev C and 440GR Rev B

CHANGELOG:

Add PVRs for AMCC 440EP Rev C and 440GR Rev B

(I'm a cogito newbie. Let me know if I did anything wrong.)

cpu/ppc4xx/cpu.c +8 -0
old mode 100644
new mode 100755
index 0cd72b0..d3ab889
@@ -223,12 +223,20 @@ int checkcpu (void)
  	case PVR_440EP_RB: /* 440EP rev B and 440GR rev A have same PVR */
  		puts("EP Rev. B");
  		break;
+
+	case PVR_440EP_RC: /* 440EP rev C and 440GR rev B have same PVR */
+		puts("EP Rev. C");
+		break;
  #endif /*  CONFIG_440EP */
 
  #ifdef CONFIG_440GR
  	case PVR_440GR_RA: /* 440EP rev B and 440GR rev A have same PVR */
  		puts("GR Rev. A");
  		break;
+
+	case PVR_440GR_RB: /* 440EP rev C and 440GR rev B have same PVR */
+		puts("GR Rev. B");
+		break;
  #endif /* CONFIG_440GR */
  #endif /* CONFIG_440 */
 
include/asm-ppc/processor.h +2 -0
old mode 100644
new mode 100755
index 8113783..9ff03af
@@ -725,7 +725,9 @@
  #define PVR_440GP_RC	0x40120481
  #define PVR_440EP_RA	0x42221850
  #define PVR_440EP_RB	0x422218D3 /* 440EP rev B and 440GR rev A have same PVR */
+#define PVR_440EP_RC	0x422218D4 /* 440EP rev C and 440GR rev B have same PVR */
  #define PVR_440GR_RA	0x422218D3 /* 440EP rev B and 440GR rev A have same PVR */
+#define PVR_440GR_RB	0x422218D4 /* 440EP rev C and 440GR rev B have same PVR */
  #define PVR_440GX_RA	0x51B21850
  #define PVR_440GX_RB	0x51B21851
  #define PVR_440GX_RC	0x51B21892