summaryrefslogtreecommitdiff
path: root/board/freescale/m5329evb/nand.c
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2008-01-14 17:17:03 -0600
committerTsiChungLiew <Tsi-Chung.Liew@freescale.com>2008-01-17 14:59:40 -0600
commit320d61991fa3190ee41765601ed017b6b5ff7b2b (patch)
treebfa7837672eec573122dea0b7273754cfdb644ec /board/freescale/m5329evb/nand.c
parent2e72ad0644b940817a89a3590ce0d7b99c05c396 (diff)
downloadu-boot-imx-320d61991fa3190ee41765601ed017b6b5ff7b2b.zip
u-boot-imx-320d61991fa3190ee41765601ed017b6b5ff7b2b.tar.gz
u-boot-imx-320d61991fa3190ee41765601ed017b6b5ff7b2b.tar.bz2
ColdFire: Update FlexBus CS for MCF532x
Definition update and change from 16bit to 32bit Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
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 fefb42e..344a614 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);