ppc4xx: Fix bogus Canyonlands config.mk
[oweals/u-boot.git] / lib_microblaze / time.c
index 0fef834992a55d15305d61d07734cdec4a503bfa..b5d8f19379ec6de7a7c4c6cf0ba5a9bb707ed799 100644 (file)
@@ -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