summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/stub/jz4760b/target-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/stub/jz4760b/target-config.h')
-rw-r--r--utils/hwstub/stub/jz4760b/target-config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/hwstub/stub/jz4760b/target-config.h b/utils/hwstub/stub/jz4760b/target-config.h
index fa018c14dc..681e17e6f6 100644
--- a/utils/hwstub/stub/jz4760b/target-config.h
+++ b/utils/hwstub/stub/jz4760b/target-config.h
@@ -3,6 +3,12 @@
#define TCSM0_SIZE 0x4000
#define CPU_MIPS
#define STACK_SIZE 0x300
+#define DCACHE_SIZE 0x4000 /* 16 kB */
+#define DCACHE_LINE_SIZE 0x20 /* 32 B */
+#define ICACHE_SIZE 0x4000 /* 16 kB */
+#define ICACHE_LINE_SIZE 0x20 /* 32 B */
+/* we need to flush caches before executing */
+#define CONFIG_FLUSH_CACHES
/* something provides define
* #define mips 1