summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-11-28 16:09:24 +0100
committerStefan Roese <sr@denx.de>2006-11-28 16:09:24 +0100
commite732faec95a83cb468b4850ae807c8301dde8f6a (patch)
treef9cbce8bce55affa9bebd9f43df414ad944ffd67
parente7f3e9ff01fbd7fa72eb42a9675fbed6bc4736b0 (diff)
downloadu-boot-imx-e732faec95a83cb468b4850ae807c8301dde8f6a.zip
u-boot-imx-e732faec95a83cb468b4850ae807c8301dde8f6a.tar.gz
u-boot-imx-e732faec95a83cb468b4850ae807c8301dde8f6a.tar.bz2
[PATCH] PPC4xx: 440SP Rev. C detection added
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--cpu/ppc4xx/cpu.c4
-rw-r--r--include/asm-ppc/processor.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 447383f..9c5c910 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -340,6 +340,10 @@ int checkcpu (void)
puts("SP Rev. B");
break;
+ case PVR_440SP_RC:
+ puts("SP Rev. C");
+ break;
+
case PVR_440SPe_RA:
puts("SPe Rev. A");
break;
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 388dea4..6619686 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -749,6 +749,7 @@
#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_601 0x00010000