rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git] / cpu / ixp / timer.c
index 920f34e..09d8ad5 100644 (file)
@@ -44,7 +44,7 @@ void ixp425_udelay(unsigned long usec)
         * This function has a max usec, but since it is called from udelay
         * we should not have to worry... be happy
         */
-       unsigned long usecs = CFG_HZ/1000000L & ~IXP425_OST_RELOAD_MASK;
+       unsigned long usecs = CONFIG_SYS_HZ/1000000L & ~IXP425_OST_RELOAD_MASK;
 
        *IXP425_OSST = IXP425_OSST_TIMER_1_PEND;
        usecs |= IXP425_OST_ONE_SHOT | IXP425_OST_ENABLE;