]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/ppc4xx/fdt.c
ppc4xx: Big cleanup of PPC4xx defines
[karo-tx-uboot.git] / cpu / ppc4xx / fdt.c
index ba5c120ad7fdb43912da2cc5169f6ae039a55644..496e0285b5bd802a9445f6df7f0883623d3590a9 100644 (file)
@@ -51,8 +51,8 @@ void __ft_board_setup(void *blob, bd_t *bd)
         * peripheral banks into the OPB/PLB address space
         */
        for (i = 0; i < EBC_NUM_BANKS; i++) {
-               mtdcr(ebccfga, EBC_BXCR(i));
-               bxcr = mfdcr(ebccfgd);
+               mtdcr(EBC0_CFGADDR, EBC_BXCR(i));
+               bxcr = mfdcr(EBC0_CFGDATA);
 
                if ((bxcr & EBC_BXCR_BU_MASK) != EBC_BXCR_BU_NONE) {
                        *p++ = i;