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

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
master
TsiChungLiew 18 years ago committed by Stefan Roese
parent 9e737d8476
commit 6fde84a44b
  1. 7
      board/freescale/m5329evb/m5329evb.c
  2. 7
      include/asm-m68k/io.h

@ -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 */

@ -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__ */

Loading…
Cancel
Save