summaryrefslogtreecommitdiffstats
path: root/utils/hwstub
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub')
-rw-r--r--utils/hwstub/stub/atj213x/target-config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/hwstub/stub/atj213x/target-config.h b/utils/hwstub/stub/atj213x/target-config.h
index 081cccc581..5d489044ca 100644
--- a/utils/hwstub/stub/atj213x/target-config.h
+++ b/utils/hwstub/stub/atj213x/target-config.h
@@ -3,6 +3,13 @@
#define IRAM_SIZE 0x18000
#define DRAM_ORIG 0x80000000 /* KSEG1 cached unmapped */
#define DRAM_SIZE 0x800000
+#define DCACHE_SIZE 0x4000 /* 16 kB */
+#define DCACHE_LINE_SIZE 0x10 /* 16 B */
+#define ICACHE_SIZE 0x4000 /* 16 kB */
+#define ICACHE_LINE_SIZE 0x10 /* 61 B */
+/* we need to flush caches before executing */
+#define CONFIG_FLUSH_CACHES
+
#define CPU_MIPS
/* something provides define