summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c3
1 files changed, 2 insertions, 1 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
329void udelay(unsigned short usecs) 329/* usecs may be at most 2^32/248 (17 seconds) for 248MHz max cpu freq */
330void udelay(unsigned usecs)
330{ 331{
331 unsigned cycles_per_usec; 332 unsigned cycles_per_usec;
332 unsigned delay; 333 unsigned delay;