aboutsummaryrefslogtreecommitdiffstats
path: root/board/atmel/at91sam9260ek/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/at91sam9260ek/nand.c')
-rw-r--r--board/atmel/at91sam9260ek/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/at91sam9260ek/nand.c b/board/atmel/at91sam9260ek/nand.c
index 665e35c54b..c5ac634aab 100644
--- a/board/atmel/at91sam9260ek/nand.c
+++ b/board/atmel/at91sam9260ek/nand.c
@@ -67,7 +67,7 @@ static int at91sam9260ek_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 = at91sam9260ek_nand_hwcontrol;