]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib_microblaze/time.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / lib_microblaze / time.c
index 0fef834992a55d15305d61d07734cdec4a503bfa..cbb43414f9cf860b0ad83bb899012e2bbb58d454 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <common.h>
 
-#ifdef CFG_TIMER_0
+#ifdef CONFIG_SYS_TIMER_0
 void udelay (unsigned long usec)
 {
        int i;
@@ -37,6 +37,6 @@ void udelay (unsigned long usec)
 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