]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/ixp/timer.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / ixp / timer.c
index 920f34e612827ed11312ddf4edd35f43730c7fc0..09d8ad56020c969c738f2f10d0d7f68d47101ff5 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;