diff options
Diffstat (limited to 'utils/hwstub/stub/target.h')
-rw-r--r-- | utils/hwstub/stub/target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hwstub/stub/target.h b/utils/hwstub/stub/target.h index 5cd049d04f..4992dd5bf8 100644 --- a/utils/hwstub/stub/target.h +++ b/utils/hwstub/stub/target.h | |||
@@ -41,6 +41,10 @@ uint32_t target_read32(const void *addr); | |||
41 | void target_write8(void *addr, uint8_t val); | 41 | void target_write8(void *addr, uint8_t val); |
42 | void target_write16(void *addr, uint16_t val); | 42 | void target_write16(void *addr, uint16_t val); |
43 | void target_write32(void *addr, uint32_t val); | 43 | void target_write32(void *addr, uint32_t val); |
44 | #ifdef CONFIG_FLUSH_CACHES | ||
45 | /* flush cache: commit dcache and invalidate icache */ | ||
46 | void target_flush_caches(void); | ||
47 | #endif | ||
44 | 48 | ||
45 | /* mandatory for all targets */ | 49 | /* mandatory for all targets */ |
46 | extern struct hwstub_target_desc_t target_descriptor; | 50 | extern struct hwstub_target_desc_t target_descriptor; |