]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/atmel/at91sam9261ek/nand.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / board / atmel / at91sam9261ek / nand.c
index fccb9d78def34449be0c8cdc74873672822af388..06395ee215c7949d8ea34cedd4946eec3c25d930 100644 (file)
@@ -67,7 +67,7 @@ static int at91sam9261ek_nand_ready(struct mtd_info *mtd)
 int board_nand_init(struct nand_chip *nand)
 {
        nand->ecc.mode = NAND_ECC_SOFT;
-#ifdef CFG_NAND_DBW_16
+#ifdef CONFIG_SYS_NAND_DBW_16
        nand->options = NAND_BUSWIDTH_16;
 #endif
        nand->cmd_ctrl = at91sam9261ek_nand_hwcontrol;