diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/system-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/system-target.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/system-target.h b/firmware/target/arm/imx31/gigabeat-s/system-target.h index 847e6cfc51..b99b31d1b4 100644 --- a/firmware/target/arm/imx31/gigabeat-s/system-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/system-target.h | |||
@@ -31,6 +31,14 @@ | |||
31 | #define CPUFREQ_MAX CPU_FREQ | 31 | #define CPUFREQ_MAX CPU_FREQ |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | /* For USB driver - no accuracy assurance */ | ||
35 | static inline void udelay(unsigned int usecs) | ||
36 | { | ||
37 | unsigned int x; | ||
38 | for (x = 0; x < 300*usecs; x++) | ||
39 | asm volatile (""); | ||
40 | } | ||
41 | |||
34 | #if 0 | 42 | #if 0 |
35 | static inline void udelay(unsigned int usecs) | 43 | static inline void udelay(unsigned int usecs) |
36 | { | 44 | { |