Patchwork [ppc-next,12/39] target-ppc: Extract 7450 alias

login
register
mail settings
Submitter Andreas Färber
Date Feb. 12, 2013, 10:13 a.m.
Message ID <1360664012-16824-13-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/219818/
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 abbf9a5..c0c7579 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7353,7 +7353,6 @@  enum {
     CPU_POWERPC_7448_v11           = 0x80040101,
     CPU_POWERPC_7448_v20           = 0x80040200,
     CPU_POWERPC_7448_v21           = 0x80040201,
-#define CPU_POWERPC_7450             CPU_POWERPC_7450_v21
     CPU_POWERPC_7450_v10           = 0x80000100,
     CPU_POWERPC_7450_v11           = 0x80000101,
     CPU_POWERPC_7450_v12           = 0x80000102,
@@ -8877,8 +8876,6 @@  static const ppc_def_t ppc_defs[] = {
     POWERPC_DEF("7448_v2.0",     CPU_POWERPC_7448_v20,               7400)
     /* PowerPC 7448 v2.1 (G4)                                                */
     POWERPC_DEF("7448_v2.1",     CPU_POWERPC_7448_v21,               7400)
-    /* PowerPC 7450 (G4)                                                     */
-    POWERPC_DEF("7450",          CPU_POWERPC_7450,                   7450)
     /* PowerPC 7450 v1.0 (G4)                                                */
     POWERPC_DEF("7450_v1.0",     CPU_POWERPC_7450_v10,               7450)
     /* PowerPC 7450 v1.1 (G4)                                                */
@@ -9188,6 +9185,8 @@  static const PowerPCCPUAlias ppc_cpu_aliases[] = {
     { "G4",  "7400" },
     /* Code name for PowerPC 7410 */
     { "Nitro", "7410" },
+    /* PowerPC 7450 (G4) */
+    { "7450", "7450_v2.1" },
     /* Code name for PowerPC 7450 */
     { "Vger", "7450" },
     /* PowerPC 7441 (G4) */