summaryrefslogtreecommitdiff
path: root/firmware/target/mips/mmu-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/mmu-mips.c')
-rw-r--r--firmware/target/mips/mmu-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/mmu-mips.c b/firmware/target/mips/mmu-mips.c
index 2daed5ed9e..f4770aa468 100644
--- a/firmware/target/mips/mmu-mips.c
+++ b/firmware/target/mips/mmu-mips.c
@@ -25,7 +25,7 @@
25#include "system.h" 25#include "system.h"
26#include "mmu-mips.h" 26#include "mmu-mips.h"
27 27
28#if CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B 28#if CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B || CONFIG_CPU == X1000
29/* XBurst core has 32 JTLB entries */ 29/* XBurst core has 32 JTLB entries */
30#define NR_TLB_ENTRIES 32 30#define NR_TLB_ENTRIES 32
31#else 31#else
@@ -134,7 +134,7 @@ void mmu_init(void)
134/* Target specific operations: 134/* Target specific operations:
135 * - invalidate BTB (Branch Table Buffer) 135 * - invalidate BTB (Branch Table Buffer)
136 * - sync barrier after cache operations */ 136 * - sync barrier after cache operations */
137#if CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B 137#if CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B || CONFIG_CPU == X1000
138#define INVALIDATE_BTB() \ 138#define INVALIDATE_BTB() \
139do { \ 139do { \
140 register unsigned long tmp; \ 140 register unsigned long tmp; \