From 0a7c5391a0a881cef208d286e6c9d3ebe5851b94 Mon Sep 17 00:00:00 2001
From: stroese <stroese>
Date: Thu, 7 Apr 2005 05:33:41 +0000
Subject: [PATCH] Add PPC440GX Revision C

---
 cpu/ppc4xx/cpu.c            | 5 ++++-
 include/asm-ppc/processor.h | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index cdb503965b..06acb8162e 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -175,8 +175,11 @@ int checkcpu (void)
 	case PVR_440GX_RB:
 		puts("X Rev. B");
 		break;
+	case PVR_440GX_RC:
+		puts("X Rev. C");
+		break;
 	default:
-		printf ("UNKNOWN (PVR=%08x)", pvr);
+		printf (" UNKNOWN (PVR=%08x)", pvr);
 		break;
 	}
 #endif
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 8dbcc4750e..71fadbc918 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -718,6 +718,7 @@
 #define PVR_440GP_RC	0x40120481
 #define PVR_440GX_RA	0x51B21850
 #define PVR_440GX_RB	0x51B21851
+#define PVR_440GX_RC	0x51B21892
 #define PVR_405EP_RB	0x51210950
 #define PVR_601		0x00010000
 #define PVR_602		0x00050000
-- 
GitLab