Merge branch 'master' of /home/git/u-boot
[oweals/u-boot.git] / board / bf537-stamp / flash.c
index ed8584147972dac54e797edead2342661a3ed62d..8252c42fd8c684b087633f26cf375a365ef7c62a 100644 (file)
@@ -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);