2004-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

PR 587/bsps
	* shared/include/cpuIdent.h, shared/include/cpuIdent.c: Add defines
	for MPC_5XX.
This commit is contained in:
Ralf Corsepius
2004-03-08 15:40:40 +00:00
parent 25f59b144c
commit 9c4a30e209
3 changed files with 24 additions and 0 deletions
+6
View File
@@ -1,3 +1,9 @@
2004-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 587/bsps
* shared/include/cpuIdent.h, shared/include/cpuIdent.c: Add defines
for MPC_5XX.
2004-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.ac: Reflect having added mpc5xx.
@@ -30,6 +30,7 @@ char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
{
switch (cpu) {
case PPC_601: return "MPC601";
case PPC_5XX: return "MPC5XX";
case PPC_603: return "MPC603";
case PPC_603ev: return "MPC603ev";
case PPC_604: return "MPC604";
@@ -52,6 +53,7 @@ ppc_cpu_id_t get_ppc_cpu_type()
current_ppc_cpu = (ppc_cpu_id_t) pvr;
switch (pvr) {
case PPC_601:
case PPC_5XX:
case PPC_603:
case PPC_603ev:
case PPC_604:
@@ -20,6 +20,21 @@
typedef enum
{
PPC_601 = 0x1,
PPC_5XX = 0x2,
PPC_509 = PPC_5XX,
PPC_533 = PPC_5XX,
PPC_534 = PPC_5XX,
PPC_535 = PPC_5XX,
PPC_536 = PPC_5XX,
PPC_555 = PPC_5XX,
PPC_556 = PPC_5XX,
PPC_561 = PPC_5XX,
PPC_562 = PPC_5XX,
PPC_563 = PPC_5XX,
PPC_564 = PPC_5XX,
PPC_565 = PPC_5XX,
PPC_566 = PPC_5XX,
MPC_5XX = PPC_5XX,
PPC_603 = 0x3,
PPC_604 = 0x4,
PPC_603e = 0x6,
@@ -31,6 +46,7 @@ typedef enum
PPC_620 = 0x16,
PPC_860 = 0x50,
PPC_821 = PPC_860,
PPC_823 = PPC_860,
PPC_8260 = 0x81,
PPC_UNKNOWN = 0xff
} ppc_cpu_id_t;