Moved sync() from board file to include/asm-m68k/io.h
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
diff --git a/include/asm-m68k/io.h b/include/asm-m68k/io.h
index 8dea02a..114efb1 100644
--- a/include/asm-m68k/io.h
+++ b/include/asm-m68k/io.h
@@ -211,4 +211,11 @@
*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__ */