Patchwork [ppc-next,22/39] target-ppc: Extract 601/601v aliases

login
register
mail settings
Submitter Andreas Färber
Date Feb. 12, 2013, 10:13 a.m.
Message ID <1360664012-16824-23-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/219817/
State New
Headers show

Comments

Andreas Färber - Feb. 12, 2013, 10:13 a.m.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-ppc/translate_init.c |   10 ++++------
 1 Datei geändert, 4 Zeilen hinzugefügt(+), 6 Zeilen entfernt(-)

Patch

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 3bbce1b..8434e9e 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7227,10 +7227,8 @@  enum {
 #define CPU_POWERPC_MPC8641          CPU_POWERPC_e600
 #define CPU_POWERPC_MPC8641D         CPU_POWERPC_e600
     /* PowerPC 6xx cores */
-#define CPU_POWERPC_601              CPU_POWERPC_601_v2
     CPU_POWERPC_601_v0             = 0x00010001,
     CPU_POWERPC_601_v1             = 0x00010001,
-#define CPU_POWERPC_601v             CPU_POWERPC_601_v2
     CPU_POWERPC_601_v2             = 0x00010002,
     CPU_POWERPC_602                = 0x00050100,
     CPU_POWERPC_603                = 0x00030100,
@@ -8594,14 +8592,10 @@  static const ppc_def_t ppc_defs[] = {
                     CPU_POWERPC_MPC8641D,     POWERPC_SVR_8641D,     7400)
     /* 32 bits "classic" PowerPC                                             */
     /* PowerPC 6xx family                                                    */
-    /* PowerPC 601                                                           */
-    POWERPC_DEF("601",           CPU_POWERPC_601,                    601v)
     /* PowerPC 601v0                                                         */
     POWERPC_DEF("601_v0",        CPU_POWERPC_601_v0,                 601)
     /* PowerPC 601v1                                                         */
     POWERPC_DEF("601_v1",        CPU_POWERPC_601_v1,                 601)
-    /* PowerPC 601v                                                          */
-    POWERPC_DEF("601v",          CPU_POWERPC_601v,                   601v)
     /* PowerPC 601v2                                                         */
     POWERPC_DEF("601_v2",        CPU_POWERPC_601_v2,                 601v)
     /* PowerPC 602                                                           */
@@ -9109,6 +9103,10 @@  static const PowerPCCPUAlias ppc_cpu_aliases[] = {
     { "PowerQUICC-II", "MPC82xx" },
     /* PowerPC e500 core */
     { "e500", "e500v2_v22" },
+    /* PowerPC 601 */
+    { "601",  "601_v2" },
+    /* PowerPC 601v */
+    { "601v", "601_v2" },
     /* Code name for PowerPC 603 */
     { "Vanilla", "603" },
     /* PowerPC 603e (aka PID6) */