diff options
Diffstat (limited to 'arch/m68k/include/asm/m54xxacr.h')
-rw-r--r-- | arch/m68k/include/asm/m54xxacr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/m54xxacr.h b/arch/m68k/include/asm/m54xxacr.h index 76d64906aa62..12209c68b904 100644 --- a/arch/m68k/include/asm/m54xxacr.h +++ b/arch/m68k/include/asm/m54xxacr.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #define CACR_IHLCK 0x00000800 /* Intruction cache half lock */ | 26 | #define CACR_IHLCK 0x00000800 /* Intruction cache half lock */ |
27 | #define CACR_IDCM 0x00000400 /* Intruction cache inhibit */ | 27 | #define CACR_IDCM 0x00000400 /* Intruction cache inhibit */ |
28 | #define CACR_ICINVA 0x00000100 /* Invalidate instr cache */ | 28 | #define CACR_ICINVA 0x00000100 /* Invalidate instr cache */ |
29 | #define CACR_EUSP 0x00000020 /* Enable separate user a7 */ | ||
29 | 30 | ||
30 | #define ACR_BASE_POS 24 /* Address Base */ | 31 | #define ACR_BASE_POS 24 /* Address Base */ |
31 | #define ACR_MASK_POS 16 /* Address Mask */ | 32 | #define ACR_MASK_POS 16 /* Address Mask */ |
@@ -67,7 +68,11 @@ | |||
67 | /* Enable data store buffer */ | 68 | /* Enable data store buffer */ |
68 | /* outside ACRs : No cache, precise */ | 69 | /* outside ACRs : No cache, precise */ |
69 | /* Enable instruction+branch caches */ | 70 | /* Enable instruction+branch caches */ |
71 | #if defined(CONFIG_M5407) | ||
70 | #define CACHE_MODE (CACR_DEC+CACR_DESB+CACR_DDCM_P+CACR_BEC+CACR_IEC) | 72 | #define CACHE_MODE (CACR_DEC+CACR_DESB+CACR_DDCM_P+CACR_BEC+CACR_IEC) |
73 | #else | ||
74 | #define CACHE_MODE (CACR_DEC+CACR_DESB+CACR_DDCM_P+CACR_BEC+CACR_IEC+CACR_EUSP) | ||
75 | #endif | ||
71 | 76 | ||
72 | #define DATA_CACHE_MODE (ACR_ENABLE+ACR_ANY+ACR_CM_WT) | 77 | #define DATA_CACHE_MODE (ACR_ENABLE+ACR_ANY+ACR_CM_WT) |
73 | 78 | ||