]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/arm946es/interrupts.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / arm946es / interrupts.c
index a2c3646f19f6ea9efba6bc2de1ba95b5d9a802fb..c13d3099f155da6b5f2ab97f602007cd996781ba 100644 (file)
@@ -121,10 +121,10 @@ void udelay_masked (unsigned long usec)
 
        if(usec >= 1000){               /* if "big" number, spread normalization to seconds */
                tmo = usec / 1000;      /* start to normalize for usec to ticks per sec */
-               tmo *= CFG_HZ_CLOCK;    /* find number of "ticks" to wait to achieve target */
+               tmo *= CONFIG_SYS_HZ_CLOCK;    /* find number of "ticks" to wait to achieve target */
                tmo /= 1000;            /* finish normalize. */
        }else{                          /* else small number, don't kill it prior to HZ multiply */
-               tmo = usec * CFG_HZ_CLOCK;
+               tmo = usec * CONFIG_SYS_HZ_CLOCK;
                tmo /= (1000*1000);
        }
 
@@ -151,7 +151,7 @@ ulong get_tbclk (void)
 {
        ulong tbclk;
 
-       tbclk = CFG_HZ;
+       tbclk = CONFIG_SYS_HZ;
        return tbclk;
 }