summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/system.c4
-rw-r--r--firmware/target/arm/system-pp502x.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/system.c b/firmware/system.c
index badeb30e84..a3a354f713 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -36,10 +36,6 @@ long cpu_frequency NOCACHEBSS_ATTR = CPU_FREQ;
36static int boost_counter NOCACHEBSS_ATTR = 0; 36static int boost_counter NOCACHEBSS_ATTR = 0;
37static bool cpu_idle NOCACHEBSS_ATTR = false; 37static bool cpu_idle NOCACHEBSS_ATTR = false;
38 38
39#if NUM_CORES > 1
40struct mutex boostctrl_mtx NOCACHEBSS_ATTR;
41#endif
42
43int get_cpu_boost_counter(void) 39int get_cpu_boost_counter(void)
44{ 40{
45 return boost_counter; 41 return boost_counter;
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index afffcd9283..1fe5860fb9 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -30,6 +30,10 @@
30 30
31unsigned int ipod_hw_rev; 31unsigned int ipod_hw_rev;
32 32
33#if NUM_CORES > 1
34struct mutex boostctrl_mtx NOCACHEBSS_ATTR;
35#endif
36
33#ifndef BOOTLOADER 37#ifndef BOOTLOADER
34extern void TIMER1(void); 38extern void TIMER1(void);
35extern void TIMER2(void); 39extern void TIMER2(void);