>From MCF5407 ColdFire User’s Manual : [bits 7-0] must be cleared; otherwise, performance may be affected.
Signed-off-by: Philippe De Muyter <p...@macqel.be> --- arch/m68k/include/asm/m54xxacr.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/m68k/include/asm/m54xxacr.h b/arch/m68k/include/asm/m54xxacr.h index 27cd530..259fa8d 100644 --- a/arch/m68k/include/asm/m54xxacr.h +++ b/arch/m68k/include/asm/m54xxacr.h @@ -26,7 +26,7 @@ #define CACR_IHLCK 0x00000800 /* Intruction cache half lock */ #define CACR_IDCM 0x00000400 /* Intruction cache inhibit */ #define CACR_ICINVA 0x00000100 /* Invalidate instr cache */ -#define CACR_EUSP 0x00000020 /* Enable separate user a7 */ +#define CACR_EUSP 0x00000020 /* Enable separate user a7 */ #define ACR_BASE_POS 24 /* Address Base */ #define ACR_MASK_POS 16 /* Address Mask */ @@ -45,6 +45,13 @@ #define ICACHE_SIZE 0x4000 /* instruction - 16k */ #define DCACHE_SIZE 0x2000 /* data - 8k */ +#undef CACR_EUSP /* not available on 5407 */ + /* + * From MCF5407 ColdFire User’s Manual : + * bits 7-0 must be cleared; otherwise, + * performance may be affected. + */ +#define CACR_EUSP 0 #elif defined(CONFIG_M54xx) -- 1.7.1 _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev