Support for MPC505 from Sergei Organov <osv@Javad.RU>. His patch was

against 3.6.0 so was painful to merge.  It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
This commit is contained in:
Joel Sherrill
1999-08-19 22:07:00 +00:00
parent 96284fd815
commit 71f16a4499
3 changed files with 51 additions and 0 deletions

View File

@@ -116,7 +116,24 @@ extern "C" {
#define PPC_HAS_EXCEPTION_PREFIX 0 #define PPC_HAS_EXCEPTION_PREFIX 0
#define PPC_HAS_EVPR 1 #define PPC_HAS_EVPR 1
#elif defined(mpc505) || defined(mpc509)
/*
* Submitted by Sergei Organov <osv@Javad.RU> as a patch against
* 3.6.0 long after 4.0 was released. This is just an attempt
* to get the setting correct.
*/
#define CPU_MODEL_NAME "PowerPC 505/509"
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_I_CACHE 4096
#define PPC_I_CACHE 0
#elif defined(ppc601) #elif defined(ppc601)
/* /*
* Submitted with original port -- book checked only. * Submitted with original port -- book checked only.
*/ */

View File

@@ -116,7 +116,24 @@ extern "C" {
#define PPC_HAS_EXCEPTION_PREFIX 0 #define PPC_HAS_EXCEPTION_PREFIX 0
#define PPC_HAS_EVPR 1 #define PPC_HAS_EVPR 1
#elif defined(mpc505) || defined(mpc509)
/*
* Submitted by Sergei Organov <osv@Javad.RU> as a patch against
* 3.6.0 long after 4.0 was released. This is just an attempt
* to get the setting correct.
*/
#define CPU_MODEL_NAME "PowerPC 505/509"
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_I_CACHE 4096
#define PPC_I_CACHE 0
#elif defined(ppc601) #elif defined(ppc601)
/* /*
* Submitted with original port -- book checked only. * Submitted with original port -- book checked only.
*/ */

View File

@@ -116,7 +116,24 @@ extern "C" {
#define PPC_HAS_EXCEPTION_PREFIX 0 #define PPC_HAS_EXCEPTION_PREFIX 0
#define PPC_HAS_EVPR 1 #define PPC_HAS_EVPR 1
#elif defined(mpc505) || defined(mpc509)
/*
* Submitted by Sergei Organov <osv@Javad.RU> as a patch against
* 3.6.0 long after 4.0 was released. This is just an attempt
* to get the setting correct.
*/
#define CPU_MODEL_NAME "PowerPC 505/509"
#define PPC_ALIGNMENT 4
#define PPC_CACHE_ALIGNMENT 16
#define PPC_I_CACHE 4096
#define PPC_I_CACHE 0
#elif defined(ppc601) #elif defined(ppc601)
/* /*
* Submitted with original port -- book checked only. * Submitted with original port -- book checked only.
*/ */