projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Schedule removal of non-CONFIG_NET_MULTI net driver API
[oweals/u-boot.git]
/
lib_microblaze
/
time.c
diff --git
a/lib_microblaze/time.c
b/lib_microblaze/time.c
index 0fef834992a55d15305d61d07734cdec4a503bfa..cbb43414f9cf860b0ad83bb899012e2bbb58d454 100644
(file)
--- a/
lib_microblaze/time.c
+++ b/
lib_microblaze/time.c
@@
-26,7
+26,7
@@
#include <common.h>
#include <common.h>
-#ifdef C
FG
_TIMER_0
+#ifdef C
ONFIG_SYS
_TIMER_0
void udelay (unsigned long usec)
{
int i;
void udelay (unsigned long usec)
{
int i;
@@
-37,6
+37,6
@@
void udelay (unsigned long usec)
void udelay (unsigned long usec)
{
unsigned int i;
void udelay (unsigned long usec)
{
unsigned int i;
- for (i = 0; i < (usec * XILINX_CLOCK_FREQ / 10000000); i++);
+ for (i = 0; i < (usec *
CONFIG_
XILINX_CLOCK_FREQ / 10000000); i++);
}
#endif
}
#endif