git.openpandora.org
/
pandora-x-loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
board: technexion: Add support for TAM3517 SoM.
[pandora-x-loader.git]
/
common
/
cmd_load.c
diff --git
a/common/cmd_load.c
b/common/cmd_load.c
index
94901a9
..
d761754
100644
(file)
--- a/
common/cmd_load.c
+++ b/
common/cmd_load.c
@@
-38,7
+38,10
@@
static inline void delay(unsigned long loops)
__asm__ volatile ("1:\n" "subs %0, %1, #1\n"
"bne 1b":"=r" (loops):"0"(loops));
}
-static inline void udelay(unsigned long us)
+#ifndef CFG_UDELAY
+static inline
+#endif
+void udelay(unsigned long us)
{
delay(us * 200); /* approximate */
}