summaryrefslogtreecommitdiff
path: root/board/prodrive/pdnb3/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/prodrive/pdnb3/nand.c')
-rw-r--r--board/prodrive/pdnb3/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/prodrive/pdnb3/nand.c b/board/prodrive/pdnb3/nand.c
index 1ce3c8c618..2efe027ec1 100644
--- a/board/prodrive/pdnb3/nand.c
+++ b/board/prodrive/pdnb3/nand.c
@@ -136,7 +136,7 @@ static int pdnb3_nand_dev_ready(struct mtd_info *mtd)
int board_nand_init(struct nand_chip *nand)
{
- pdnb3_ndfc = (struct pdnb3_ndfc_regs *)CFG_NAND_BASE;
+ pdnb3_ndfc = (struct pdnb3_ndfc_regs *)CONFIG_SYS_NAND_BASE;
nand->ecc.mode = NAND_ECC_SOFT;