qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH ppc-next 34/39] target-ppc: Extract MPC8240 alias


From: Andreas Färber
Subject: [Qemu-devel] [PATCH ppc-next 34/39] target-ppc: Extract MPC8240 alias
Date: Tue, 12 Feb 2013 11:13:27 +0100

Signed-off-by: Andreas Färber <address@hidden>
---
 target-ppc/translate_init.c |    8 +++-----
 1 Datei geändert, 3 Zeilen hinzugefügt(+), 5 Zeilen entfernt(-)

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 1f4f4c9..3085385 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7044,8 +7044,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
@@ -7901,9 +7899,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                                                               */
@@ -8888,6 +8883,9 @@ static const PowerPCCPUAlias ppc_cpu_aliases[] = {
     /* MPC885 */
     { "MPC885", "MPC8xx" },
 
+    /* PowerPC MPC603 microcontrollers */
+    { "MPC8240", "603" },
+
     { "MPC52xx", "MPC5200" },
     { "MPC5200", "MPC5200_v12" },
     { "MPC5200B", "MPC5200B_v21" },
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]