summaryrefslogtreecommitdiff
path: root/board/freescale/m5329evb/nand.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-23 14:23:13 +0100
committerWolfgang Denk <wd@denx.de>2008-01-23 14:23:13 +0100
commite57ed96baca1222e6cd3d7032691a89d5890bb4a (patch)
treece82b7473894c8336d786a5779c893e58085f989 /board/freescale/m5329evb/nand.c
parent2468592d79891fea4f39d0a414c7316f3af03f4c (diff)
parent57a127201eb3d8cc19170a008e0bd7af608bd72f (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire
Diffstat (limited to 'board/freescale/m5329evb/nand.c')
-rw-r--r--board/freescale/m5329evb/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/m5329evb/nand.c b/board/freescale/m5329evb/nand.c
index fefb42e614..344a614895 100644
--- a/board/freescale/m5329evb/nand.c
+++ b/board/freescale/m5329evb/nand.c
@@ -63,10 +63,10 @@ static void nand_hwcontrol(struct mtd_info *mtdinfo, int cmd)
nand_baseaddr |= CLR_ALE;
break;
case NAND_CTL_SETWP:
- fbcs->csmr2 |= CSMR_WP;
+ fbcs->csmr2 |= FBCS_CSMR_WP;
break;
case NAND_CTL_CLRWP:
- fbcs->csmr2 &= ~CSMR_WP;
+ fbcs->csmr2 &= ~FBCS_CSMR_WP;
break;
}
this->IO_ADDR_W = (void __iomem *)(nand_baseaddr);