diff options
Diffstat (limited to 'firmware/export/kernel.h')
-rw-r--r-- | firmware/export/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index 9ada8eb59c..50c9bdc0ae 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h | |||
@@ -113,6 +113,8 @@ struct mutex | |||
113 | /* We don't enable interrupts in the iPod bootloader, so we need to fake | 113 | /* We don't enable interrupts in the iPod bootloader, so we need to fake |
114 | the current_tick variable */ | 114 | the current_tick variable */ |
115 | #define current_tick (signed)(USEC_TIMER/10000) | 115 | #define current_tick (signed)(USEC_TIMER/10000) |
116 | #elif (CONFIG_CPU == IMX31L) && defined(BOOTLOADER) | ||
117 | #define current_tick (signed)((0xFFFFFFFF - EPITCNT1)/10000) | ||
116 | #else | 118 | #else |
117 | extern volatile long current_tick; | 119 | extern volatile long current_tick; |
118 | #endif | 120 | #endif |