diff mbox

[U-Boot] 85xx: Support for Freescale P1024/P1025 processor

Message ID 1296111807-32646-1-git-send-email-leoli@freescale.com
State Superseded
Headers show

Commit Message

Yang Li Jan. 27, 2011, 7:03 a.m. UTC
From: Jin Qing <b24347@freescale.com>

Add Support for Freescale P1024/P1025(dual core) and
P1015/P1016(single core) processors.

P1024 is a variant of P1020 processor with the following differences:
 - e500v2 core frequency of up to 667MHz from up to 800MHz
 - 32-bit DDR3 SDRAM memory controller from DDR2/DDR3 controller
 - 23*23 mm 561-pin TEPBGA from 31*31 mm 689-pin TEPBGAII


P1025 is a variant of P1021 processor with the following differences:
 - e500v2 core frequency of up to 667MHz from up to 800MHz
 - 32-bit DDR3 SDRAM memory controller from DDR2/DDR3 controller
 - 23*23 mm 561-pin TEPBGA from 31*31 mm 689-pin TEPBGAII

P1015 is a variant of P1024 processor with single core and P1016 is a
variant of P1025 processor with single core.

Signed-off-by: Jin Qing <b24347@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
---
 arch/powerpc/cpu/mpc8xxx/cpu.c       |    8 ++++++++
 arch/powerpc/include/asm/processor.h |    8 ++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu/mpc8xxx/cpu.c
index 0ec1c16..6271b65 100644
--- a/arch/powerpc/cpu/mpc8xxx/cpu.c
+++ b/arch/powerpc/cpu/mpc8xxx/cpu.c
@@ -74,12 +74,20 @@  struct cpu_type cpu_type_list [] = {
 	CPU_TYPE_ENTRY(P1014, P1014_E, 1),
 	CPU_TYPE_ENTRY(P1014, P1014, 1),
 	CPU_TYPE_ENTRY(P1013, P1013_E, 1),
+	CPU_TYPE_ENTRY(P1015, P1015_E, 1),
+	CPU_TYPE_ENTRY(P1015, P1015, 1),
+	CPU_TYPE_ENTRY(P1016, P1016_E, 1),
+	CPU_TYPE_ENTRY(P1016, P1016, 1),
 	CPU_TYPE_ENTRY(P1020, P1020, 2),
 	CPU_TYPE_ENTRY(P1020, P1020_E, 2),
 	CPU_TYPE_ENTRY(P1021, P1021, 2),
 	CPU_TYPE_ENTRY(P1021, P1021_E, 2),
 	CPU_TYPE_ENTRY(P1022, P1022, 2),
 	CPU_TYPE_ENTRY(P1022, P1022_E, 2),
+	CPU_TYPE_ENTRY(P1024, P1024, 2),
+	CPU_TYPE_ENTRY(P1024, P1024_E, 2),
+	CPU_TYPE_ENTRY(P1025, P1025, 2),
+	CPU_TYPE_ENTRY(P1025, P1025_E, 2),
 	CPU_TYPE_ENTRY(P2010, P2010, 1),
 	CPU_TYPE_ENTRY(P2010, P2010_E, 1),
 	CPU_TYPE_ENTRY(P2020, P2020, 2),
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index a47f856..ae15fcc 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -1048,12 +1048,20 @@ 
 #define SVR_P1013_E	0x80EF00
 #define SVR_P1014	0x80F101
 #define SVR_P1014_E	0x80F901
+#define SVR_P1015	0x80E502
+#define SVR_P1015_E	0x80ED02
+#define SVR_P1016	0x80E503
+#define SVR_P1016_E	0x80ED03
 #define SVR_P1020	0x80E400
 #define SVR_P1020_E	0x80EC00
 #define SVR_P1021	0x80E401
 #define SVR_P1021_E	0x80EC01
 #define SVR_P1022	0x80E600
 #define SVR_P1022_E	0x80EE00
+#define SVR_P1024	0x80E402
+#define SVR_P1024_E	0x80EC02
+#define SVR_P1025	0x80E403
+#define SVR_P1025_E	0x80EC03
 #define SVR_P2010	0x80E300
 #define SVR_P2010_E	0x80EB00
 #define SVR_P2020	0x80E200