ppc4xx: Big cleanup of PPC4xx defines
[platform/kernel/u-boot.git] / drivers / mtd / nand / ndfc.c
index 0891936..0dd6789 100644 (file)
@@ -207,8 +207,8 @@ int board_nand_init(struct nand_chip *nand)
         */
        mtebc(EBC0_CFG, 0xb8400000);
 
-       mtebc(pb0cr, CONFIG_SYS_EBC_PB0CR);
-       mtebc(pb0ap, CONFIG_SYS_EBC_PB0AP);
+       mtebc(PB0CR, CONFIG_SYS_EBC_PB0CR);
+       mtebc(PB0AP, CONFIG_SYS_EBC_PB0AP);
 #endif
 
        chip++;