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

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
This commit is contained in:
TsiChungLiew 2007-08-05 03:43:30 -05:00 committed by Stefan Roese
parent 9e737d8476
commit 6fde84a44b
2 changed files with 7 additions and 7 deletions

View file

@ -87,10 +87,3 @@ int testdram(void)
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 */

View file

@ -211,4 +211,11 @@ extern inline void out_be32(volatile unsigned *addr, int 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__ */