Skip to content
Snippets Groups Projects
Commit 6fde84a4 authored by TsiChung Liew's avatar TsiChung Liew Committed by Stefan Roese
Browse files

Moved sync() from board file to include/asm-m68k/io.h

parent 9e737d84
No related branches found
No related tags found
No related merge requests found
...@@ -87,10 +87,3 @@ int testdram(void) ...@@ -87,10 +87,3 @@ int testdram(void)
return (0); 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 */
...@@ -211,4 +211,11 @@ extern inline void out_be32(volatile unsigned *addr, int val) ...@@ -211,4 +211,11 @@ extern inline void out_be32(volatile unsigned *addr, int val)
*addr = val; *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__ */ #endif /* __ASM_M68K_IO_H__ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment