summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/nand.c')
-rw-r--r--board/bf537-stamp/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bf537-stamp/nand.c b/board/bf537-stamp/nand.c
index f95b584b314..6ff0f4f96c4 100644
--- a/board/bf537-stamp/nand.c
+++ b/board/bf537-stamp/nand.c
@@ -64,13 +64,13 @@ static void bfin_hwcontrol(struct mtd_info *mtd, int cmd)
this->IO_ADDR_R = this->IO_ADDR_W;
/* Drain the writebuffer */
- sync();
+ SSYNC();
}
int bfin_device_ready(struct mtd_info *mtd)
{
int ret = (*PORT(CONFIG_NAND_GPIO_PORT, IO) & BFIN_NAND_READY) ? 1 : 0;
- sync();
+ SSYNC();
return ret;
}