diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-17 23:16:35 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-08 21:04:49 +0100 |
commit | 236824f276fafbfbb5399ca2c9c72298a401e223 (patch) | |
tree | 712821e36c279b4b26a4850e6451c81905ffc6b0 /target-ppc/translate_init.c | |
parent | cf9314cd77f07398303423dd17c520fa92d0b30f (diff) |
target-ppc: Extract MPC5200/MPC5200B aliases
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r-- | target-ppc/translate_init.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 625811edc0..2e41f0bb60 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -7037,11 +7037,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 */ @@ -7363,11 +7361,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 @@ -7912,9 +7908,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) @@ -7924,9 +7917,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) @@ -8863,6 +8853,8 @@ static const PowerPCCPUAlias ppc_cpu_aliases[] = { { "MPC885", "MPC8xx" }, { "MPC52xx", "MPC5200" }, + { "MPC5200", "MPC5200_v12" }, + { "MPC5200B", "MPC5200B_v21" }, { "MPC82xx", "MPC8280" }, { "PowerQUICC-II", "MPC82xx" }, |