summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/flash.c')
-rw-r--r--board/bf537-stamp/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bf537-stamp/flash.c b/board/bf537-stamp/flash.c
index ed8584147..8252c42fd 100644
--- a/board/bf537-stamp/flash.c
+++ b/board/bf537-stamp/flash.c
@@ -255,7 +255,7 @@ int write_flash(long nOffset, int nValue)
addr = (CFG_FLASH_BASE + nOffset);
*(unsigned volatile short *)addr = nValue;
- sync();
+ SSYNC();
#if (BFIN_BOOT_MODE == BF537_SPI_MASTER_BOOT)
if (icache_status())
udelay(CONFIG_CCLK_HZ / 1000000);