summaryrefslogtreecommitdiff
path: root/chip/it83xx/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/flash.c')
-rw-r--r--chip/it83xx/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/it83xx/flash.c b/chip/it83xx/flash.c
index 42fee49053..fe1dae7592 100644
--- a/chip/it83xx/flash.c
+++ b/chip/it83xx/flash.c
@@ -53,7 +53,7 @@
/* immu cache size is 8K bytes. */
#define IMMU_SIZE 0x2000
-#if CONFIG_FLASH_SIZE == 0x80000
+#if (CONFIG_FLASH_SIZE == 0x80000) && defined(CHIP_CORE_NDS32)
/* Apply workaround of the issue (b:111808417) */
#define IMMU_CACHE_TAG_INVALID
#endif