[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH ppc-next 33/39] target-ppc: Extract MPC5200/MPC5200B
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH ppc-next 33/39] target-ppc: Extract MPC5200/MPC5200B aliases |
Date: |
Tue, 12 Feb 2013 11:13:26 +0100 |
Signed-off-by: Andreas Färber <address@hidden>
---
target-ppc/translate_init.c | 12 ++----------
1 Datei geändert, 2 Zeilen hinzugefügt(+), 10 Zeilen entfernt(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index abe9557..1f4f4c9 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7039,11 +7039,9 @@ enum {
CPU_POWERPC_G2LEgp3 = 0x80822013,
/* MPC52xx microcontrollers */
/* XXX: MPC 5121 ? */
-#define CPU_POWERPC_MPC5200 CPU_POWERPC_MPC5200_v12
#define CPU_POWERPC_MPC5200_v10 CPU_POWERPC_G2LEgp1
#define CPU_POWERPC_MPC5200_v11 CPU_POWERPC_G2LEgp1
#define CPU_POWERPC_MPC5200_v12 CPU_POWERPC_G2LEgp1
-#define CPU_POWERPC_MPC5200B CPU_POWERPC_MPC5200B_v21
#define CPU_POWERPC_MPC5200B_v20 CPU_POWERPC_G2LEgp1
#define CPU_POWERPC_MPC5200B_v21 CPU_POWERPC_G2LEgp1
/* MPC82xx microcontrollers */
@@ -7365,11 +7363,9 @@ enum {
/* System version register (used on MPC 8xxx) */
enum {
POWERPC_SVR_NONE = 0x00000000,
-#define POWERPC_SVR_5200 POWERPC_SVR_5200_v12
POWERPC_SVR_5200_v10 = 0x80110010,
POWERPC_SVR_5200_v11 = 0x80110011,
POWERPC_SVR_5200_v12 = 0x80110012,
-#define POWERPC_SVR_5200B POWERPC_SVR_5200B_v21
POWERPC_SVR_5200B_v20 = 0x80110020,
POWERPC_SVR_5200B_v21 = 0x80110021,
#define POWERPC_SVR_55xx POWERPC_SVR_5567
@@ -7914,9 +7910,6 @@ static const ppc_def_t ppc_defs[] = {
POWERPC_DEF_SVR("MPC5121",
CPU_POWERPC_MPC5121, POWERPC_SVR_5121, G2LE)
#endif
- /* MPC5200 */
- POWERPC_DEF_SVR("MPC5200",
- CPU_POWERPC_MPC5200, POWERPC_SVR_5200, G2LE)
/* MPC5200 v1.0 */
POWERPC_DEF_SVR("MPC5200_v10",
CPU_POWERPC_MPC5200_v10, POWERPC_SVR_5200_v10, G2LE)
@@ -7926,9 +7919,6 @@ static const ppc_def_t ppc_defs[] = {
/* MPC5200 v1.2 */
POWERPC_DEF_SVR("MPC5200_v12",
CPU_POWERPC_MPC5200_v12, POWERPC_SVR_5200_v12, G2LE)
- /* MPC5200B */
- POWERPC_DEF_SVR("MPC5200B",
- CPU_POWERPC_MPC5200B, POWERPC_SVR_5200B, G2LE)
/* MPC5200B v2.0 */
POWERPC_DEF_SVR("MPC5200B_v20",
CPU_POWERPC_MPC5200B_v20, POWERPC_SVR_5200B_v20, G2LE)
@@ -8899,6 +8889,8 @@ static const PowerPCCPUAlias ppc_cpu_aliases[] = {
{ "MPC885", "MPC8xx" },
{ "MPC52xx", "MPC5200" },
+ { "MPC5200", "MPC5200_v12" },
+ { "MPC5200B", "MPC5200B_v21" },
{ "MPC82xx", "MPC8280" },
/* Codename for MPC82xx */
--
1.7.10.4
- [Qemu-devel] [PATCH ppc-next 28/39] target-ppc: Extract MPC82xx alias, (continued)
- [Qemu-devel] [PATCH ppc-next 28/39] target-ppc: Extract MPC82xx alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 31/39] target-ppc: Extract MPC82xx_HiP{3, 4} aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 22/39] target-ppc: Extract 601/601v aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 36/39] target-ppc: Extract 970 aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 35/39] target-ppc: Extract 405GPe alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 39/39] target-ppc: Convert CPU definitions, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 32/39] target-ppc: Extract MPC52xx alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 26/39] target-ppc: Extract e300 alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 34/39] target-ppc: Extract MPC8240 alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 33/39] target-ppc: Extract MPC5200/MPC5200B aliases,
Andreas Färber <=
- [Qemu-devel] [PATCH ppc-next 38/39] target-ppc: Get model name from type name, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 37/39] target-ppc: Extract POWER7 alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 25/39] target-ppc: Extract MPC83xx aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 18/39] target-ppc: Extract 740/750 aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 24/39] target-ppc: Extract e500v1/e500v2 aliases, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 19/39] target-ppc: Extract 604e alias, Andreas Färber, 2013/02/12
- [Qemu-devel] [PATCH ppc-next 20/39] target-ppc: Extract 603e alias, Andreas Färber, 2013/02/12