summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2012-08-17 08:20:23 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-23 12:16:54 -0500
commit5b6b85ae639e5c7e822970bdb29337d9e4b16e28 (patch)
tree0b7caa9ba9b012eff6c4412b95ac29160f3bcb62
parent123bd96d533190a207c9fcea84ae6328732a16cc (diff)
downloadu-boot-imx-5b6b85ae639e5c7e822970bdb29337d9e4b16e28.zip
u-boot-imx-5b6b85ae639e5c7e822970bdb29337d9e4b16e28.tar.gz
u-boot-imx-5b6b85ae639e5c7e822970bdb29337d9e4b16e28.tar.bz2
Add e6500 processor detection
Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu.c3
-rw-r--r--arch/powerpc/include/asm/processor.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c
index c1815e8..8d2ef9f 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu.c
@@ -117,6 +117,9 @@ int checkcpu (void)
case PVR_VER_E5500:
puts("E5500");
break;
+ case PVR_VER_E6500:
+ puts("E6500");
+ break;
default:
puts("Unknown");
break;
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 3247c80..f3acd17 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -950,6 +950,7 @@
#define PVR_VER_E500_V2 0x8021
#define PVR_VER_E500MC 0x8023
#define PVR_VER_E5500 0x8024
+#define PVR_VER_E6500 0x8040
#define PVR_86xx 0x80040000