summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-target.h')
-rw-r--r--firmware/target/arm/system-target.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h
index e5a8b15f64..730bc2dbbb 100644
--- a/firmware/target/arm/system-target.h
+++ b/firmware/target/arm/system-target.h
@@ -141,6 +141,10 @@ static inline void wake_core(int core)
141} 141}
142#endif 142#endif
143 143
144void commit_dcache(void);
145void commit_discard_dcache(void);
146void commit_discard_idcache(void);
147
144#if defined(BOOTLOADER) && !defined(HAVE_BOOTLOADER_USB_MODE) 148#if defined(BOOTLOADER) && !defined(HAVE_BOOTLOADER_USB_MODE)
145/* All addresses within rockbox are in IRAM in the bootloader so 149/* All addresses within rockbox are in IRAM in the bootloader so
146 are therefore uncached */ 150 are therefore uncached */
@@ -162,15 +166,6 @@ static inline void wake_core(int core)
162#define STORAGE_WANTS_ALIGN 166#define STORAGE_WANTS_ALIGN
163#endif 167#endif
164 168
165/** cache functions **/
166#if !defined(BOOTLOADER) || defined(HAVE_BOOTLOADER_USB_MODE)
167#define HAVE_CPUCACHE_COMMIT_DISCARD
168#define HAVE_CPUCACHE_COMMIT
169/* deprecated alias */
170#define HAVE_CPUCACHE_INVALIDATE
171#define HAVE_CPUCACHE_FLUSH
172#endif
173
174#if defined(IPOD_VIDEO) && !defined(BOOTLOADER) 169#if defined(IPOD_VIDEO) && !defined(BOOTLOADER)
175extern unsigned char probed_ramsize; 170extern unsigned char probed_ramsize;
176int battery_default_capacity(void); 171int battery_default_capacity(void);