diff options
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index fee3a51..5028bfd 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -718,6 +718,10 @@ void plugin_iram_init(char *iramstart, char *iramcopy, size_t iram_size, memcpy(iramstart, iramcopy, iram_size); memset(iedata, 0, iedata_size); memset(iramcopy, 0, iram_size); +#if NUM_CORES > 1 + /* writeback cleared iedata and iramcopy areas */ + flush_icache(); +#endif } #endif /* IRAM_STEAL */ |