]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/ndfc.c
Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC
[u-boot] / drivers / mtd / nand / ndfc.c
index 0891936f00d4c2776b296750cd1e57a8861caa0e..3ca13a979c7e6d7aaa0b80ac12a9a464475b5d25 100644 (file)
@@ -35,7 +35,7 @@
 #include <linux/mtd/nand_ecc.h>
 #include <asm/processor.h>
 #include <asm/io.h>
-#include <ppc4xx.h>
+#include <asm/ppc4xx.h>
 
 /*
  * We need to store the info, which chip-select (CS) is used for the
@@ -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++;