]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/s3c44b0/interrupts.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / cpu / s3c44b0 / interrupts.c
index ed7964844d28efbc2aea02eea120f4e204c4f7c8..eb23e6ab114d0e5f248be22b8fc9c8ae92a0762a 100644 (file)
@@ -80,7 +80,7 @@ void udelay (unsigned long usec)
        ulong tmo;
 
        tmo = usec / 1000;
-       tmo *= CFG_HZ;
+       tmo *= CONFIG_SYS_HZ;
        tmo /= 8;
 
        tmo += get_timer (0);
@@ -120,10 +120,10 @@ void udelay_masked (unsigned long usec)
 
        if (usec >= 1000) {
                tmo = usec / 1000;
-               tmo *= CFG_HZ;
+               tmo *= CONFIG_SYS_HZ;
                tmo /= 8;
        } else {
-               tmo = usec * CFG_HZ;
+               tmo = usec * CONFIG_SYS_HZ;
                tmo /= (1000*8);
        }