summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-17 23:16:27 +0000
committerAlexander Graf <agraf@suse.de>2013-03-08 21:04:48 +0100
commit9538de4fe708ca09af3a786fb9b26e2269ebc8f0 (patch)
tree47b6458cfab8fdbdb9d2560d6b768a17e054fd2a
parent6d4decb484b5cc31a9a4a069eff21c89f8d288b5 (diff)
target-ppc: Extract MPC83xx aliases
Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--target-ppc/translate_init.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 91473dcf40..8f765ad478 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7461,16 +7461,12 @@ enum {
POWERPC_SVR_8343A = 0x80570030,
POWERPC_SVR_8343E = 0x80560010,
POWERPC_SVR_8343EA = 0x80560030,
-#define POWERPC_SVR_8347 POWERPC_SVR_8347T
POWERPC_SVR_8347P = 0x80550010, /* PBGA package */
POWERPC_SVR_8347T = 0x80530010, /* TBGA package */
-#define POWERPC_SVR_8347A POWERPC_SVR_8347AT
POWERPC_SVR_8347AP = 0x80550030, /* PBGA package */
POWERPC_SVR_8347AT = 0x80530030, /* TBGA package */
-#define POWERPC_SVR_8347E POWERPC_SVR_8347ET
POWERPC_SVR_8347EP = 0x80540010, /* PBGA package */
POWERPC_SVR_8347ET = 0x80520010, /* TBGA package */
-#define POWERPC_SVR_8347EA POWERPC_SVR_8347EAT
POWERPC_SVR_8347EAP = 0x80540030, /* PBGA package */
POWERPC_SVR_8347EAT = 0x80520030, /* TBGA package */
POWERPC_SVR_8349 = 0x80510010,
@@ -8237,36 +8233,24 @@ static const ppc_def_t ppc_defs[] = {
/* MPC8343EA */
POWERPC_DEF_SVR("MPC8343EA",
CPU_POWERPC_MPC834x, POWERPC_SVR_8343EA, e300)
- /* MPC8347 */
- POWERPC_DEF_SVR("MPC8347",
- CPU_POWERPC_MPC834x, POWERPC_SVR_8347, e300)
/* MPC8347T */
POWERPC_DEF_SVR("MPC8347T",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347T, e300)
/* MPC8347P */
POWERPC_DEF_SVR("MPC8347P",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347P, e300)
- /* MPC8347A */
- POWERPC_DEF_SVR("MPC8347A",
- CPU_POWERPC_MPC834x, POWERPC_SVR_8347A, e300)
/* MPC8347AT */
POWERPC_DEF_SVR("MPC8347AT",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347AT, e300)
/* MPC8347AP */
POWERPC_DEF_SVR("MPC8347AP",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347AP, e300)
- /* MPC8347E */
- POWERPC_DEF_SVR("MPC8347E",
- CPU_POWERPC_MPC834x, POWERPC_SVR_8347E, e300)
/* MPC8347ET */
POWERPC_DEF_SVR("MPC8347ET",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347ET, e300)
/* MPC8343EP */
POWERPC_DEF_SVR("MPC8347EP",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347EP, e300)
- /* MPC8347EA */
- POWERPC_DEF_SVR("MPC8347EA",
- CPU_POWERPC_MPC834x, POWERPC_SVR_8347EA, e300)
/* MPC8347EAT */
POWERPC_DEF_SVR("MPC8347EAT",
CPU_POWERPC_MPC834x, POWERPC_SVR_8347EAT, e300)
@@ -8974,6 +8958,10 @@ static const PowerPCCPUAlias ppc_cpu_aliases[] = {
{ "MPC885", "MPC8xx" },
{ "PowerQUICC-II", "MPC82xx" },
+ { "MPC8347", "MPC8347T" },
+ { "MPC8347A", "MPC8347AT" },
+ { "MPC8347E", "MPC8347ET" },
+ { "MPC8347EA", "MPC8347EAT" },
{ "e500", "e500v2_v22" },
{ "e500v1", "e500_v20" },
{ "e500v2", "e500v2_v22" },