summaryrefslogtreecommitdiff
path: root/target-ppc/translate_init.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-02-17 23:16:36 +0000
committerAlexander Graf <agraf@suse.de>2013-03-08 21:04:49 +0100
commit7b48a1ad3242fc7f6a19620f8a23f92a4f9ffb67 (patch)
tree9aa09de982196caf7831c984c81ecf445bd85073 /target-ppc/translate_init.c
parent236824f276fafbfbb5399ca2c9c72298a401e223 (diff)
downloadqemu-7b48a1ad3242fc7f6a19620f8a23f92a4f9ffb67.tar.gz
qemu-7b48a1ad3242fc7f6a19620f8a23f92a4f9ffb67.tar.bz2
qemu-7b48a1ad3242fc7f6a19620f8a23f92a4f9ffb67.zip
target-ppc: Extract MPC8240 alias
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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 2e41f0bb60..4e5278d691 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7042,8 +7042,6 @@ enum {
#define CPU_POWERPC_MPC5200_v12 CPU_POWERPC_G2LEgp1
#define CPU_POWERPC_MPC5200B_v20 CPU_POWERPC_G2LEgp1
#define CPU_POWERPC_MPC5200B_v21 CPU_POWERPC_G2LEgp1
- /* MPC82xx microcontrollers */
-#define CPU_POWERPC_MPC8240 CPU_POWERPC_MPC603
/* e200 family */
/* e200 cores */
#if 0
@@ -7899,9 +7897,6 @@ static const ppc_def_t ppc_defs[] = {
POWERPC_DEF("G2leGP1", CPU_POWERPC_G2LEgp1, G2LE)
/* PowerPC G2LE GP3 core */
POWERPC_DEF("G2leGP3", CPU_POWERPC_G2LEgp3, G2LE)
- /* PowerPC MPC603 microcontrollers */
- /* MPC8240 */
- POWERPC_DEF("MPC8240", CPU_POWERPC_MPC8240, 603E)
/* PowerPC G2 microcontrollers */
#if defined(TODO)
/* MPC5121 */
@@ -8852,6 +8847,9 @@ static const PowerPCCPUAlias ppc_cpu_aliases[] = {
{ "MPC880", "MPC8xx" },
{ "MPC885", "MPC8xx" },
+ /* PowerPC MPC603 microcontrollers */
+ { "MPC8240", "603" },
+
{ "MPC52xx", "MPC5200" },
{ "MPC5200", "MPC5200_v12" },
{ "MPC5200B", "MPC5200B_v21" },