[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 09/66] target-ppc: Extract MPC5xx aliases
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 09/66] target-ppc: Extract MPC5xx aliases |
Date: |
Fri, 8 Mar 2013 21:06:11 +0100 |
From: Andreas Färber <address@hidden>
Their PVR differed but was defined to MPC5xx.
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/translate_init.c | 81 ++++++++-----------------------------------
1 files changed, 15 insertions(+), 66 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 8923105..6a5f7e8 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7057,19 +7057,6 @@ enum {
/* Freescale embedded PowerPC cores */
/* PowerPC MPC 5xx cores (aka RCPU) */
CPU_POWERPC_MPC5xx = 0x00020020,
-#define CPU_POWERPC_MGT560 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC509 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC533 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC534 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC555 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC556 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC560 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC561 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC562 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC563 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC564 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC565 CPU_POWERPC_MPC5xx
-#define CPU_POWERPC_MPC566 CPU_POWERPC_MPC5xx
/* PowerPC MPC 8xx cores (aka PowerQUICC) */
CPU_POWERPC_MPC8xx = 0x00500000,
#define CPU_POWERPC_MGT823 CPU_POWERPC_MPC8xx
@@ -8056,59 +8043,6 @@ static const ppc_def_t ppc_defs[] = {
/* Generic MPC5xx core */
POWERPC_DEF("MPC5xx", CPU_POWERPC_MPC5xx, MPC5xx)
#endif
- /* MPC5xx microcontrollers */
-#if defined(TODO_USER_ONLY)
- /* MGT560 */
- POWERPC_DEF("MGT560", CPU_POWERPC_MGT560, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC509 */
- POWERPC_DEF("MPC509", CPU_POWERPC_MPC509, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC533 */
- POWERPC_DEF("MPC533", CPU_POWERPC_MPC533, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC534 */
- POWERPC_DEF("MPC534", CPU_POWERPC_MPC534, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC555 */
- POWERPC_DEF("MPC555", CPU_POWERPC_MPC555, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC556 */
- POWERPC_DEF("MPC556", CPU_POWERPC_MPC556, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC560 */
- POWERPC_DEF("MPC560", CPU_POWERPC_MPC560, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC561 */
- POWERPC_DEF("MPC561", CPU_POWERPC_MPC561, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC562 */
- POWERPC_DEF("MPC562", CPU_POWERPC_MPC562, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC563 */
- POWERPC_DEF("MPC563", CPU_POWERPC_MPC563, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC564 */
- POWERPC_DEF("MPC564", CPU_POWERPC_MPC564, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC565 */
- POWERPC_DEF("MPC565", CPU_POWERPC_MPC565, MPC5xx)
-#endif
-#if defined(TODO_USER_ONLY)
- /* MPC566 */
- POWERPC_DEF("MPC566", CPU_POWERPC_MPC566, MPC5xx)
-#endif
/* MPC8xx family (aka PowerQUICC) */
#if defined(TODO_USER_ONLY)
/* Generic MPC8xx core */
@@ -9303,6 +9237,21 @@ typedef struct PowerPCCPUAlias {
static const PowerPCCPUAlias ppc_cpu_aliases[] = {
{ "RCPU", "MPC5xx" },
+ /* MPC5xx microcontrollers */
+ { "MGT560", "MPC5xx" },
+ { "MPC509", "MPC5xx" },
+ { "MPC533", "MPC5xx" },
+ { "MPC534", "MPC5xx" },
+ { "MPC555", "MPC5xx" },
+ { "MPC556", "MPC5xx" },
+ { "MPC560", "MPC5xx" },
+ { "MPC561", "MPC5xx" },
+ { "MPC562", "MPC5xx" },
+ { "MPC563", "MPC5xx" },
+ { "MPC564", "MPC5xx" },
+ { "MPC565", "MPC5xx" },
+ { "MPC566", "MPC5xx" },
+
{ "PowerQUICC", "MPC8xx" },
{ "PowerQUICC-II", "MPC82xx" },
{ "e500", "e500v2_v22" },
--
1.6.0.2
- [Qemu-ppc] [PATCH 05/66] target-ppc: Drop nested TARGET_PPC64 guard for POWER7, (continued)
- [Qemu-ppc] [PATCH 05/66] target-ppc: Drop nested TARGET_PPC64 guard for POWER7, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 16/66] target-ppc: Extract 74x1 aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 08/66] target-ppc: Make -cpu "ppc" an alias to "ppc32", Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 04/66] target-ppc: Update error handling in ppc_cpu_realize(), Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 02/66] target-ppc: Fix CPU_POWERPC_MPC8547E, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 10/66] target-ppc: Extract MGT823/MPC8xx as aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 17/66] target-ppc: Extract 7450 alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 12/66] target-ppc: Extract 440 aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 11/66] target-ppc: Extract 40x aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 13/66] target-ppc: Turn "ppc32" and "ppc64" CPUs into aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 09/66] target-ppc: Extract MPC5xx aliases,
Alexander Graf <=
- [Qemu-ppc] [PATCH 20/66] target-ppc: Extract 7400 alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 19/66] target-ppc: Extract 7410 alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 21/66] target-ppc: Extract 7x5 aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 23/66] target-ppc: Extract 740/750 aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 26/66] target-ppc: Extract 601/601v aliases, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 07/66] target-ppc: Extract aliases from definitions list, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 18/66] target-ppc: Extract 7448 alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 27/66] target-ppc: Extract 604e alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 25/66] target-ppc: Extract 603r alias, Alexander Graf, 2013/03/08
- [Qemu-ppc] [PATCH 15/66] target-ppc: Extract 74x5 as aliases, Alexander Graf, 2013/03/08