Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
return (0);
}
-#ifdef CFG_FLASH_CFI
-void sync(void)
-{
- /* This sync function is PowerPC intruction,
- coldfire does not have this instruction. Dummy function */
-}
-#endif /* CFG_FLASH_CFI */
*addr = val;
}
+static inline void sync(void)
+{
+ /* This sync function is for PowerPC or other architecture instruction
+ * ColdFire does not have this instruction. Dummy function, added for
+ * compatibility (CFI driver)
+ */
+}
#endif /* __ASM_M68K_IO_H__ */