]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/gth/pcmcia.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / board / gth / pcmcia.c
index cffcbde89a27119a78ea1599ae10b045bf24b1f0..a4db16d0cedc0e429d30984169c199f317ea8731 100644 (file)
@@ -31,10 +31,10 @@ int pcmcia_hardware_enable (int slot)
 
        debug ("hardware_enable: GTH Slot %c\n", 'A' + slot);
 
-       immap = (immap_t *) CFG_IMMR;
-       sysp = (sysconf8xx_t *) (&(((immap_t *) CFG_IMMR)->im_siu_conf));
-       pcmp = (pcmconf8xx_t *) (&(((immap_t *) CFG_IMMR)->im_pcmcia));
-       cp = (cpm8xx_t *) (&(((immap_t *) CFG_IMMR)->im_cpm));
+       immap = (immap_t *) CONFIG_SYS_IMMR;
+       sysp = (sysconf8xx_t *) (&(((immap_t *) CONFIG_SYS_IMMR)->im_siu_conf));
+       pcmp = (pcmconf8xx_t *) (&(((immap_t *) CONFIG_SYS_IMMR)->im_pcmcia));
+       cp = (cpm8xx_t *) (&(((immap_t *) CONFIG_SYS_IMMR)->im_cpm));
 
        /* clear interrupt state, and disable interrupts */
        pcmp->pcmc_pscr = PCMCIA_MASK (_slot_);