Patchwork [ppc-next,21/39] target-ppc: Extract 603r alias

login
register
mail settings
Submitter Andreas Färber
Date Feb. 12, 2013, 10:13 a.m.
Message ID <1360664012-16824-22-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/219815/
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 |    5 ++---
 1 Datei geändert, 2 Zeilen hinzugefügt(+), 3 Zeilen entfernt(-)

Patch

diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index c1619a4..3bbce1b 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7248,7 +7248,6 @@  enum {
     CPU_POWERPC_603E7v2            = 0x00070201,
     CPU_POWERPC_603E7              = 0x00070200,
     CPU_POWERPC_603P               = 0x00070000,
-#define CPU_POWERPC_603R             CPU_POWERPC_603E7t
     /* XXX: missing 0x00040303 (604) */
     CPU_POWERPC_604                = 0x00040103,
     /* XXX: missing 0x00091203 */
@@ -8637,8 +8636,6 @@  static const ppc_def_t ppc_defs[] = {
     POWERPC_DEF("603e7v2",       CPU_POWERPC_603E7v2,                603E)
     /* PowerPC 603p (aka PID7v)                                              */
     POWERPC_DEF("603p",          CPU_POWERPC_603P,                   603E)
-    /* PowerPC 603r (aka PID7t)                                              */
-    POWERPC_DEF("603r",          CPU_POWERPC_603R,                   603E)
     /* PowerPC 604                                                           */
     POWERPC_DEF("604",           CPU_POWERPC_604,                    604)
     /* PowerPC 604e v1.0                                                     */
@@ -9120,6 +9117,8 @@  static const PowerPCCPUAlias ppc_cpu_aliases[] = {
     { "Stretch", "603e" },
     /* Code name for PowerPC 603ev */
     { "Vaillant", "603e7v" },
+    /* PowerPC 603r (aka PID7t) */
+    { "603r", "603e7t" },
     /* Code name for PowerPC 603r */
     { "Goldeneye", "603r" },
     /* PowerPC 604e (aka PID9) */