summaryrefslogtreecommitdiff
path: root/board/prodrive/alpr/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/prodrive/alpr/nand.c')
-rw-r--r--board/prodrive/alpr/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/prodrive/alpr/nand.c b/board/prodrive/alpr/nand.c
index 99f5737..b18c96b 100644
--- a/board/prodrive/alpr/nand.c
+++ b/board/prodrive/alpr/nand.c
@@ -137,7 +137,7 @@ static int alpr_nand_dev_ready(struct mtd_info *mtd)
int board_nand_init(struct nand_chip *nand)
{
- alpr_ndfc = (struct alpr_ndfc_regs *)CFG_NAND_BASE;
+ alpr_ndfc = (struct alpr_ndfc_regs *)CONFIG_SYS_NAND_BASE;
nand->ecc.mode = NAND_ECC_SOFT;