diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 3 | ||||
-rw-r--r-- | firmware/target/arm/as3525/system-target.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index aa98aff852..8654e61138 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c | |||
@@ -326,7 +326,8 @@ int system_memory_guard(int newmode) | |||
326 | return 0; | 326 | return 0; |
327 | } | 327 | } |
328 | 328 | ||
329 | void udelay(unsigned short usecs) | 329 | /* usecs may be at most 2^32/248 (17 seconds) for 248MHz max cpu freq */ |
330 | void udelay(unsigned usecs) | ||
330 | { | 331 | { |
331 | unsigned cycles_per_usec; | 332 | unsigned cycles_per_usec; |
332 | unsigned delay; | 333 | unsigned delay; |
diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index 90e5e3a882..e8fce197e4 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h | |||
@@ -49,5 +49,5 @@ extern int c200v2_variant; | |||
49 | #define TIMER_PERIOD (KERNEL_TIMER_FREQ/HZ) | 49 | #define TIMER_PERIOD (KERNEL_TIMER_FREQ/HZ) |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | void udelay(unsigned short usecs); | 52 | void udelay(unsigned usecs); |
53 | #endif /* SYSTEM_TARGET_H */ | 53 | #endif /* SYSTEM_TARGET_H */ |