aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/cpu-sh4/mmu_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/cpu-sh4/mmu_context.h')
-rw-r--r--include/asm-sh/cpu-sh4/mmu_context.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-sh/cpu-sh4/mmu_context.h b/include/asm-sh/cpu-sh4/mmu_context.h
index fdd56e3e3a3b..9ea8eb27b18e 100644
--- a/include/asm-sh/cpu-sh4/mmu_context.h
+++ b/include/asm-sh/cpu-sh4/mmu_context.h
@@ -30,6 +30,12 @@
30#define MMUCR_ME (0) 30#define MMUCR_ME (0)
31#endif 31#endif
32 32
33#if defined(CONFIG_32BIT) && defined(CONFIG_CPU_SUBTYPE_ST40)
34#define MMUCR_SE (1 << 4)
35#else
36#define MMUCR_SE (0)
37#endif
38
33#ifdef CONFIG_SH_STORE_QUEUES 39#ifdef CONFIG_SH_STORE_QUEUES
34#define MMUCR_SQMD (1 << 9) 40#define MMUCR_SQMD (1 << 9)
35#else 41#else
@@ -37,7 +43,7 @@
37#endif 43#endif
38 44
39#define MMU_NTLB_ENTRIES 64 45#define MMU_NTLB_ENTRIES 64
40#define MMU_CONTROL_INIT (0x05|MMUCR_SQMD|MMUCR_ME) 46#define MMU_CONTROL_INIT (0x05|MMUCR_SQMD|MMUCR_ME|MMUCR_SE)
41 47
42#define MMU_ITLB_DATA_ARRAY 0xF3000000 48#define MMU_ITLB_DATA_ARRAY 0xF3000000
43#define MMU_UTLB_DATA_ARRAY 0xF7000000 49#define MMU_UTLB_DATA_ARRAY 0xF7000000