summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-10-06 07:21:08 +0200
committerStefan Roese <sr@denx.de>2009-10-07 09:14:27 +0200
commit56f14818f66c68a8b9e45925f29ceb974405ad48 (patch)
treedc50f24dda2e3ce017d3b063c20dde000d3e3238 /cpu
parent06dfaeef52a5f773ae4292432e3c74ff52ead316 (diff)
downloadu-boot-imx-56f14818f66c68a8b9e45925f29ceb974405ad48.zip
u-boot-imx-56f14818f66c68a8b9e45925f29ceb974405ad48.tar.gz
u-boot-imx-56f14818f66c68a8b9e45925f29ceb974405ad48.tar.bz2
ppc4xx: Add PPC405EX(r) Rev D support
Unfortunately some Rev D PPC405EX/405EXr PVR's are identical with older 405EX(r) parts. Here a list: 0x12911475 - 405EX Rev D with Security *and* 405EX Rev A/B witout Sec 0x12911473 - 405EX Rev D without Security *and* 405EXr Rev A/B with Sec Since there are only a few older parts in the field, this patch now changes the PVR's above to represent the new Rev D versions. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Phong Vo" <pvo@amcc.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/cpu.c30
1 files changed, 20 insertions, 10 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c
index 2287904..a9a0ac3 100644
--- a/cpu/ppc4xx/cpu.c
+++ b/cpu/ppc4xx/cpu.c
@@ -371,16 +371,6 @@ int checkcpu (void)
strcpy(addstr, "Security support");
break;
- case PVR_405EX2_RA:
- puts("EX Rev. A");
- strcpy(addstr, "No Security support");
- break;
-
- case PVR_405EXR1_RA:
- puts("EXr Rev. A");
- strcpy(addstr, "Security support");
- break;
-
case PVR_405EXR2_RA:
puts("EXr Rev. A");
strcpy(addstr, "No Security support");
@@ -406,6 +396,26 @@ int checkcpu (void)
strcpy(addstr, "No Security support");
break;
+ case PVR_405EX1_RD:
+ puts("EX Rev. D");
+ strcpy(addstr, "Security support");
+ break;
+
+ case PVR_405EX2_RD:
+ puts("EX Rev. D");
+ strcpy(addstr, "No Security support");
+ break;
+
+ case PVR_405EXR1_RD:
+ puts("EXr Rev. D");
+ strcpy(addstr, "Security support");
+ break;
+
+ case PVR_405EXR2_RD:
+ puts("EXr Rev. D");
+ strcpy(addstr, "No Security support");
+ break;
+
#if defined(CONFIG_440)
case PVR_440GP_RB:
puts("GP Rev. B");